diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2013-07-11 21:19:35 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2013-07-11 21:19:35 +0800 |
commit | 5de6aabb0a8c39f7cc327743440fbb28e09d9a69 (patch) | |
tree | 4d444f74d49a1ecc8968de059c59ebb7b4f66844 /src/map | |
parent | 444835e777fbe49959ee8fe99746955018ec45eb (diff) | |
download | hercules-5de6aabb0a8c39f7cc327743440fbb28e09d9a69.tar.gz hercules-5de6aabb0a8c39f7cc327743440fbb28e09d9a69.tar.bz2 hercules-5de6aabb0a8c39f7cc327743440fbb28e09d9a69.tar.xz hercules-5de6aabb0a8c39f7cc327743440fbb28e09d9a69.zip |
Partial Fixed Bug#7462
-Burning(Eff_Burning) is now supported with 'bonus2 bAddEff' script command.
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index deb6643c1..1b350f74c 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -744,10 +744,10 @@ int skill_additional_effect (struct block_list* src, struct block_list *bl, uint temp = skill->get_time2(iStatus->sc2skill(type),7); if (sd->addeff[i].flag&ATF_TARGET) - iStatus->change_start(bl,type,rate,7,0,0,0,temp,0); + iStatus->change_start(bl,type,rate,7,0,(type == SC_BURNING)?src->id:0,0,temp,0); if (sd->addeff[i].flag&ATF_SELF) - iStatus->change_start(src,type,rate,7,0,0,0,temp,0); + iStatus->change_start(src,type,rate,7,0,(type == SC_BURNING)?src->id:0,0,temp,0); } } |