summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-29 18:36:15 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-29 18:36:15 +0000
commit7c4d552557b50a2dc9d10fc02cae096ee8410406 (patch)
tree39f9c733ce57a2da3a838573652f266d3edc3419 /src/map
parent756fadf08a839aceba87198136e4dd096cf9a349 (diff)
downloadhercules-7c4d552557b50a2dc9d10fc02cae096ee8410406.tar.gz
hercules-7c4d552557b50a2dc9d10fc02cae096ee8410406.tar.bz2
hercules-7c4d552557b50a2dc9d10fc02cae096ee8410406.tar.xz
hercules-7c4d552557b50a2dc9d10fc02cae096ee8410406.zip
- Fixed spiritballs not correctly being used for skills such as Finger Offensive when GM unconditional is set.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9593 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 0655990c8..26bef8e8e 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -7834,6 +7834,8 @@ 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;
}