mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 18:39:27 -05:00
Merge pull request #188 from FreezePhoenix/patch-16
Fix display of Frozen to correctly show speed reduction, fix value in G.conditions.poisoned to reflect actual frequency multiplier
This commit is contained in:
@@ -332,6 +332,8 @@ conditions={
|
||||
"ui":True,
|
||||
"debuff":True,
|
||||
"duration":5000,
|
||||
"frequencym":0.3,
|
||||
"speed":-40,
|
||||
"defense":"fzresistance",
|
||||
},
|
||||
"burned":{
|
||||
@@ -478,7 +480,7 @@ conditions={
|
||||
"name":"Poison",
|
||||
"skin":"poison",
|
||||
"duration":5000,
|
||||
"frequencym":0.8,
|
||||
"frequencym":0.9,
|
||||
"potionsm":0.5,
|
||||
"healm":0.25,
|
||||
"debuff":True,
|
||||
|
||||
@@ -1470,7 +1470,6 @@ function calculate_common_stats(entity) {
|
||||
}
|
||||
if (entity.s.frozen) {
|
||||
entity.frequency *= 0.3;
|
||||
entity.speed -= 40;
|
||||
}
|
||||
if (entity.speed < 1) {
|
||||
entity.speed = 1;
|
||||
|
||||
Reference in New Issue
Block a user