diff options
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index d66c1ab67..0655990c8 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3830,7 +3830,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in case TK_MISSION: if (sd) { int id; - if (sd->mission_mobid && (sd->mission_count || rand()%99)) { //Cannot change target when already have one + if (sd->mission_mobid && (sd->mission_count || rand()%100)) { //Cannot change target when already have one clif_mission_info(sd, sd->mission_mobid, sd->mission_count); clif_skill_fail(sd,skillid,0,0); break; @@ -7834,8 +7834,6 @@ int skill_check_condition (struct map_session_data *sd, int skill, int lv, int t sd->skillitem = sd->skillitemlv = 0; //Need to do arrow state check. sd->state.arrow_atk = skill_get_ammotype(skill)?1:0; - //Need to do Spiritball check. - sd->spiritball_old = sd->spiritball; return 1; } |