summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-04 23:50:46 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-04 23:50:46 -0300
commitd4cc73f82b2dcaa05ae13726e00c348ad917f108 (patch)
tree0bc7a5416b3934fe7d559244949ef1bce09fb08d
parent22ab3e23b74d4c044a7c58fac5b0a4916a6081e1 (diff)
downloadserverdata-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.conf2
-rw-r--r--npc/012-7/celestia.txt2
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;