diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-17 21:20:58 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-17 21:20:58 +0000 |
commit | 08957511cfd1eef7cdfdc62bd8bf4162e254c774 (patch) | |
tree | 7a4d29c5a45bc06de1473b1657faf9675766fe54 /src/map/skill.c | |
parent | a221e97dba785931319d726d3cb0215d2e1bcf79 (diff) | |
download | hercules-08957511cfd1eef7cdfdc62bd8bf4162e254c774.tar.gz hercules-08957511cfd1eef7cdfdc62bd8bf4162e254c774.tar.bz2 hercules-08957511cfd1eef7cdfdc62bd8bf4162e254c774.tar.xz hercules-08957511cfd1eef7cdfdc62bd8bf4162e254c774.zip |
- Corrected use of the party invitation reply packet, thanks to FlavioJS.
- Removed requirement of "Changelog-Trunk" in the common/Makefile, why was it even there??
- Minor cleanups
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9251 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 4b077fb1a..a85737c6c 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -8344,6 +8344,10 @@ int skill_check_condition (struct map_session_data *sd, int skill, int lv, int t } zeny = 0; //Zeny is reduced on skill_attack. break; + case PF_HPCONVERSION: + if (status->sp == status->max_sp) + return 0; //Unusable when at full SP. + break; case AM_CALLHOMUN: //Can't summon if a hom is already out if (sd->status.hom_id && sd->hd && !sd->hd->homunculus.vaporize) { clif_skill_fail(sd,skill,0,0); @@ -8366,10 +8370,6 @@ int skill_check_condition (struct map_session_data *sd, int skill, int lv, int t return 0; } break; - case PF_HPCONVERSION: - if (status->sp == status->max_sp) - return 0; //Unusable when at full SP. - break; } if(!(type&2)){ |