diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-04 23:50:46 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-04 23:50:46 -0300 |
commit | d4cc73f82b2dcaa05ae13726e00c348ad917f108 (patch) | |
tree | 0bc7a5416b3934fe7d559244949ef1bce09fb08d | |
parent | 22ab3e23b74d4c044a7c58fac5b0a4916a6081e1 (diff) | |
download | serverdata-d4cc73f82b2dcaa05ae13726e00c348ad917f108.tar.gz serverdata-d4cc73f82b2dcaa05ae13726e00c348ad917f108.tar.bz2 serverdata-d4cc73f82b2dcaa05ae13726e00c348ad917f108.tar.xz serverdata-d4cc73f82b2dcaa05ae13726e00c348ad917f108.zip |
Fix a bug which allowed pets to crit-hit and disabled critical from players and mobs
-rw-r--r-- | conf/map/battle/battle.conf | 2 | ||||
-rw-r--r-- | npc/012-7/celestia.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/map/battle/battle.conf b/conf/map/battle/battle.conf index 37913881c..5785d7df5 100644 --- a/conf/map/battle/battle.conf +++ b/conf/map/battle/battle.conf @@ -40,7 +40,7 @@ enable_perfect_flee: 1 // Who can have critical attacks? (Note 3) // (Note that there are some skills that always do critical hit regardless of this) -enable_critical: 28 +enable_critical: 27 // Critical adjustment rate for non-players (Note 2) mob_critical_rate: 70 diff --git a/npc/012-7/celestia.txt b/npc/012-7/celestia.txt index 4c1b8aa2b..d204c4d4a 100644 --- a/npc/012-7/celestia.txt +++ b/npc/012-7/celestia.txt @@ -222,7 +222,7 @@ L_QuestionTea: next; mesc l("Celestia then picks up the cup of tea and drinks it in front of you to demonstrate that it is not only harmless but also quite delectable."); if (.@q2 < gettimetick(2)) { - getitem CelestiaTea, rand(1,3); + getitem CelestiaTea, rand2(1,3); setq2 HurnscaldQuest_TeaParty, gettimetick(2)+(60*60*2); } close; |