- Resurrection will now silently fail when used on non-undead + not-dead characters.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7638 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-07-12 20:08:38 +00:00
parent fcd96a1fff
commit 16ee0110a2
2 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,8 @@ 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. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/07/12 2006/07/12
* Resurrection will now silently fail when used on non-undead + not-dead
characters. [Skotlex]
* Poem of bragi/magic String's base delay reduction at level 10 (or above) * Poem of bragi/magic String's base delay reduction at level 10 (or above)
is now 50% instead of 3*lv%. [Skotlex] is now 50% instead of 3*lv%. [Skotlex]
* status_damage will no longer fail when the target is not on a map AND the * status_damage will no longer fail when the target is not on a map AND the

View File

@ -850,7 +850,8 @@ int unit_skilluse_id2(struct block_list *src, int target_id, int skill_num, int
if(battle_check_undead(tstatus->race,tstatus->def_ele)){ if(battle_check_undead(tstatus->race,tstatus->def_ele)){
temp=1; temp=1;
casttime = skill_castfix(src, PR_TURNUNDEAD, skill_lv); casttime = skill_castfix(src, PR_TURNUNDEAD, skill_lv);
} } else if (!status_isdead(target))
return 0; //Can't cast on non-dead characters.
break; break;
case MO_FINGEROFFENSIVE: case MO_FINGEROFFENSIVE:
if(sd) if(sd)