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:
Kaan Soral
2025-08-10 13:56:25 +03:00
committed by GitHub
2 changed files with 3 additions and 2 deletions
+3 -1
View File
@@ -332,6 +332,8 @@ conditions={
"ui":True, "ui":True,
"debuff":True, "debuff":True,
"duration":5000, "duration":5000,
"frequencym":0.3,
"speed":-40,
"defense":"fzresistance", "defense":"fzresistance",
}, },
"burned":{ "burned":{
@@ -478,7 +480,7 @@ conditions={
"name":"Poison", "name":"Poison",
"skin":"poison", "skin":"poison",
"duration":5000, "duration":5000,
"frequencym":0.8, "frequencym":0.9,
"potionsm":0.5, "potionsm":0.5,
"healm":0.25, "healm":0.25,
"debuff":True, "debuff":True,
-1
View File
@@ -1470,7 +1470,6 @@ function calculate_common_stats(entity) {
} }
if (entity.s.frozen) { if (entity.s.frozen) {
entity.frequency *= 0.3; entity.frequency *= 0.3;
entity.speed -= 40;
} }
if (entity.speed < 1) { if (entity.speed < 1) {
entity.speed = 1; entity.speed = 1;