감전상태 소스
@감전 {
set @mysd, mysd();
set @id, myid();
if(spellaethered(@mysd, name2spellid("감전"))) { end; }
else
{
callfunc "BEGINFUNC", 27, 8, 0, 0, 6, @id;
spellaether @mysd, name2spellid("감전"), 30;
}
}
@감전지속 {
set @target_id, myid();
//몹일때랑 pc일때 구분
if(istype(@target_id) == 1)
{
set @target_sd, id2sd(@target_id);
effect @target_id, 27;
set @check, get_hp(@target_sd)-((get_hp(@target_sd)*3)/100);
if(@check > 100) { set_hp @target_sd, @check; }
else { set_hp @target_sd, get_hp(@target_sd); }
}
}

달퐁 님의 최근 댓글
ㄳㄳ 2018 07.17 ㅋ 2018 07.15 ㄳㄳ 2018 07.12