[자유] pdr 질문 한번더 하겠습니다. 밀대 혼마

작성일 25-09-17 16:31 | 103 | 1

본문

저번처럼 같은 질문이긴 한데 ...


격수(자신) apc(밀대) 인데


혼마술 거는도중 체력 달아지면 바로 체 줄수있게 할수있나요??


문제가 있다며 맵에 혼마술 다 걸어놓고 마지막에 격수에게 체를 줍니다.(이게싫어서)


알려주시면 감사하겠습니다~!!


function helper_honma {

.@id = getarg(0);

.@lord_sd = get_moblord(.@id);

if(#last_position_count > 240)

end;

.@magic_no = name2magicid("혼마술");

//혼마술

if(.@lord_sd > 0)

{

if(magicaethered(.@id, name2magicid("마기금성술")))

return;

//마기금성술 걸려있으면 체력 안외움

.@lord_id = sd2id(.@lord_sd);

if(magicaethered(.@lord_id, name2magicid("마기금성술")))

return;

.@node = get_objnextnode(0);

.@hit_count = 0;

while(.@node && .@hit_count < 1)

{

.@node_chk = 0;

.@target_id = node2id(.@node);


if(.@target_id > 0 && .@target_id != .@id)

{

.@node = get_objnextnode(.@node);

.@node_chk = 1;


if(canlook(.@id, .@target_id))

{

.@type = istype(.@target_id);

if(.@type == TYPE_MOB)

{

if(get_moblord(.@target_id) > 0)

continue;

if(magicaetherdelay(.@target_id, .@magic_no) > 0)

continue;

else if(callfunc("curse_check", .@target_id, "혼마술") == 1)

continue;

effect .@target_id, 39;

sound .@id, 79;

callfunc "magic_aether", .@target_id, .@magic_no, 425;

set_mobac .@target_id, get_mobac(.@target_id) + 50;

.@hit_count++;

}

}

}


if(.@node_chk == 0)

.@node = get_objnextnode(.@node);

}

}




function helper_honma2 {

.@id = getarg(0);

.@lord_sd = get_moblord(.@id);

//say .@id, 1, "야호";

if(#last_position_count > 240)

end;

.@magic_no = name2magicid("혼마술");

//혼마술

/*

if(.@lord_sd > 0)

{

.@r = rand(1,1000);

if( .@r <= 700 ) {

return;

}

if(magicaethered(.@id, name2magicid("마기금성술")))

return;

//마기금성술 걸려있으면 체력 안외움

.@lord_id = sd2id(.@lord_sd);

if(magicaethered(.@lord_id, name2magicid("마기금성술")))

return;

.@node = get_objnextnode(0);

.@hit_count = 0;

while(.@node && .@hit_count < 1)

{

.@node_chk = 0;

.@target_id = node2id(.@node);


if(.@target_id > 0 && .@target_id != .@id)

{

.@node = get_objnextnode(.@node);

.@node_chk = 1;


if(canlook(.@id, .@target_id))

{

.@type = istype(.@target_id);

if(.@type == TYPE_MOB)

{

if(get_moblord(.@target_id) > 0)

continue;

if(magicaetherdelay(.@target_id, .@magic_no) > 0)

continue;

else if(callfunc("curse_check", .@target_id, "혼마술") == 1)

continue;

effect .@target_id, 39;

sound .@id, 79;

callfunc "magic_aether", .@target_id, .@magic_no, 425;

set_mobac .@target_id, get_mobac(.@target_id) + 50;

.@hit_count++;

}

}

}


if(.@node_chk == 0)

.@node = get_objnextnode(.@node);

}

}


귀염추혼소 로 바꾸고싶어서....

0 0

댓글목록 1

  • 주간 조회수
  • 주간 베스트
pdr 질문 한번더 하겠습니다. 밀대 혼마
게시물이 없습니다.
Copyright © 바람인사이드 - 바람의나라 클래식 PC게임 팬 커뮤니티. & 4th All Rights Reserved.

Login icons created by Freepik - Flaticon