diff options
-rw-r--r-- | db/const.txt | 1 | ||||
-rw-r--r-- | src/map/skill.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/db/const.txt b/db/const.txt index d479e79cd..3b1aa6490 100644 --- a/db/const.txt +++ b/db/const.txt @@ -627,6 +627,7 @@ Eff_Confusion 7 Eff_Blind 8 Eff_Bleeding 9 Eff_DPoison 10 +Eff_Burning 11 Ele_Neutral 0 Ele_Water 1 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); } } |