diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-03-23 11:17:49 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-03-23 11:17:49 -0300 |
commit | d7d97cdb603f2fb0be85ada5408a5f89cede9fde (patch) | |
tree | 5fafbe1494f9a024c6adab722e92dc47b067f09b | |
parent | 15d81154c2ed1ba989924f89fbef672a49965d38 (diff) | |
download | serverdata-d7d97cdb603f2fb0be85ada5408a5f89cede9fde.tar.gz serverdata-d7d97cdb603f2fb0be85ada5408a5f89cede9fde.tar.bz2 serverdata-d7d97cdb603f2fb0be85ada5408a5f89cede9fde.tar.xz serverdata-d7d97cdb603f2fb0be85ada5408a5f89cede9fde.zip |
Better formula syntax
-rw-r--r-- | npc/functions/dungeon.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/dungeon.txt b/npc/functions/dungeon.txt index ef0bcc08e..f29fea403 100644 --- a/npc/functions/dungeon.txt +++ b/npc/functions/dungeon.txt @@ -93,9 +93,9 @@ OnSick: } // The effect is based on HP - if (MaxHp*7/10 > Hp) + if (Hp*10 > MaxHp*7) .@eff = SC_BLOODING; - else if (MaxHp*4/10 > Hp) + else if (Hp*10 > MaxHp*4) .@eff = SC_POISON; else .@eff = SC_DPOISON; |