summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-03 03:05:43 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-03 03:05:43 +0000
commitf68bd7c915dc631d452b6ea2ac21cdf75bc26fe4 (patch)
treeff8a979363dccf37f3bfb66be4f24cf2d89027e4 /src/map/skill.c
parent350416fff4bb9e8bc50b5f8205d04f772e848a92 (diff)
downloadhercules-f68bd7c915dc631d452b6ea2ac21cdf75bc26fe4.tar.gz
hercules-f68bd7c915dc631d452b6ea2ac21cdf75bc26fe4.tar.bz2
hercules-f68bd7c915dc631d452b6ea2ac21cdf75bc26fe4.tar.xz
hercules-f68bd7c915dc631d452b6ea2ac21cdf75bc26fe4.zip
- Fixed pc_calc_skilltree ignoring prerequisites / joblvl requirements.
- Re-applied change r9593 that got accidentally reverted by r9595. - Added the official behavior of monsters regaining full hp when they morph. - Added support for text/comments at the end of monster spawn lines (<tab> required) - Silenced the debug message in socket.c that's been freaking people out. - Modified the useless error message in atcommand_effect. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9608 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-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 50e85d621..8f7fc0b48 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -7836,6 +7836,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;
}