You no longer can dispell guild mates in non-pkable areas
http://hercules.ws/board/tracker/issue-6803-dispell-bug/

Signed-off-by: shennetsind <ind@henn.et>
This commit is contained in:
shennetsind 2013-02-07 16:39:58 -02:00
parent 6fb7161027
commit a4802eaef9

View file

@ -6360,6 +6360,12 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
}
if(status_isimmune(bl) || !tsc || !tsc->count)
break;
if( sd && dstsd && !map_flag_vs(sd->bl.m) && sd->status.guild_id == dstsd->status.guild_id ) {
clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
break;
}
for(i=0;i<SC_MAX;i++)
{
if (!tsc->data[i])