diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/battle.c | 2 | ||||
-rw-r--r-- | src/map/skill.c | 2 | ||||
-rw-r--r-- | src/map/unit.c | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 236a47504..346948cb6 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2881,7 +2881,7 @@ enum damage_lv battle_weapon_attack(struct block_list* src, struct block_list* t if (rdamage > 0) { rdelay = clif_damage(src, src, tick, wd.amotion, sstatus->dmotion, rdamage, 1, 4, 0); //Use Reflect Shield to signal this kind of skill trigger. [Skotlex] - skill_additional_effect(target,src,CR_REFLECTSHIELD, 1,BF_WEAPON,tick); + skill_additional_effect(target,src,CR_REFLECTSHIELD,1,BF_WEAPON|BF_SHORT|BF_NORMAL,tick); } } diff --git a/src/map/skill.c b/src/map/skill.c index 09c907af7..4e60a39f9 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -1672,7 +1672,7 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds //Use Reflect Shield to signal this kind of skill trigger. [Skotlex] if (tsd && src != bl) battle_drain(tsd, src, rdamage, rdamage, sstatus->race, is_boss(src)); - skill_additional_effect(bl,src,CR_REFLECTSHIELD, 1,BF_WEAPON,tick); + skill_additional_effect(bl,src,CR_REFLECTSHIELD,1,BF_WEAPON|BF_SHORT|BF_NORMAL,tick); } if (!(flag&2) && diff --git a/src/map/unit.c b/src/map/unit.c index cd834524a..a101a5160 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1691,6 +1691,7 @@ int unit_remove_map(struct block_list *bl, int clrtype) if(sd->menuskill_id) sd->menuskill_id = sd->menuskill_val = 0; + sd->npc_shopid = 0; pc_delinvincibletimer(sd); if(sd->pvp_timer!=-1) { |