From e53ce7ef5610a1fb1dc3597e56c6610e026828a5 Mon Sep 17 00:00:00 2001 From: sketchyphoenix Date: Sat, 21 Jun 2008 20:45:40 +0000 Subject: * Fixed a bug where the "OnMyMobDead" event wouldn't trigger if the mob was killed and never attacked. (bugreport: 1725) * Reworded a comment in can_copy to make more sense. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12870 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index db4605afb..3baafef54 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -296,8 +296,8 @@ int can_copy (struct map_session_data *sd, int skillid, struct block_list* bl) return (sd->status.class_ == JOB_STALKER); } - //don't copy increase agi or blessing from someone who is inflicted with sc_changeundead - if ((skillid == AL_INCAGI || skillid == AL_BLESSING) && sd->sc.data[SC_CHANGEUNDEAD]) + //Added so plagarize can't copy agi/bless if you're undead since it damages you + if ((skillid == AL_INCAGI || skillid == AL_BLESSING)) return 0; return 1; -- cgit v1.2.3-70-g09d2