summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c6
-rw-r--r--src/map/skill.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 37b80ce33..f7a54b28e 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9271,11 +9271,11 @@ void clif_parse_EquipItem(int fd,struct map_session_data *sd)
if(sd->npc_id) {
if (sd->npc_id != sd->npc_item_flag)
return;
- } else if (sd->state.storage_flag)
- ; //You can equip/unequip stuff while storage is open.
+ } else if (sd->state.storage_flag || sd->sc.opt1)
+ ; //You can equip/unequip stuff while storage is open/under status changes
else if (clif_cant_act(sd))
return;
-
+
if(sd->sc.data[SC_BLADESTOP].timer!=-1 || sd->sc.data[SC_BERSERK].timer!=-1 )
return;
diff --git a/src/map/skill.c b/src/map/skill.c
index 364d87b1b..1ccb4be2b 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3300,9 +3300,9 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
if(bl->prev == NULL)
return 1;
- if(status_isdead(src) && skillid != NPC_REBIRTH)
+ if(status_isdead(src))
return 1;
- if(status_isdead(bl) && skillid != NPC_REBIRTH && skillid != ALL_RESURRECTION && skillid != PR_REDEMPTIO)
+ if(src!=bl && status_isdead(bl) && skillid != ALL_RESURRECTION && skillid != PR_REDEMPTIO)
return 1;
tstatus = status_get_status_data(bl);