|
@@ -1847,7 +1847,7 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
|
|
|
if(damage > 0 && dmg.flag&BF_SKILL && tsd
|
|
|
&& pc_checkskill(tsd,RG_PLAGIARISM)
|
|
|
&& (!sc || !sc->data[SC_PRESERVE])
|
|
|
- && damage < tsd->status.hp)
|
|
|
+ && damage < tsd->battle_status.hp)
|
|
|
{ //Updated to not be able to copy skills if the blow will kill you. [Skotlex]
|
|
|
if ((!tsd->status.skill[skillid].id || tsd->status.skill[skillid].flag >= 13) &&
|
|
|
can_copy(tsd,skillid,bl)) // Split all the check into their own function [Aru]
|