- Fixed Soul Burn not zapping away all SP.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7012 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-06-06 19:31:16 +00:00
parent 31e5d08931
commit 9960e99f06
2 changed files with 3 additions and 8 deletions

View File

@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/06/06
* Fixed Soul Burn not zapping away all SP. [Skotlex]
* The monsters can level up setting will not take effect when the mob's
level is LESS than their db counter-part (should prevent under-leveling
causing underflows and semi-immortal mobs) [Skotlex]

View File

@ -2947,18 +2947,12 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl,int s
clif_skill_nodamage(src,bl,skillid,skilllv,1);
if (skilllv == 5)
skill_attack(BF_MAGIC,src,src,bl,skillid,skilllv,tick,0 );
if (tsd) {
tsd->status.sp = 0;
clif_updatestatus(tsd,SP_SP);
}
status_percent_damage(src, bl, 0, 100);
} else {
clif_skill_nodamage(src,src,skillid,skilllv,1);
if (skilllv == 5)
skill_attack(BF_MAGIC,src,src,src,skillid,skilllv,tick,0 );
if (sd) {
sd->status.sp = 0;
clif_updatestatus(sd,SP_SP);
}
status_percent_damage(src, src, 0, 100);
}
if (sd) skill_blockpc_start (sd, skillid, (skilllv < 5 ? 10000: 15000));
break;