Menu

useSkill_Location()

skalaxcy

useSkill_Location()
ฟังค์ชั่นสั่งให้บอทใช้ area skill ในจุดที่กำหนด

procedure ที่อนุญาติให้ใช้ = ทุก procedure
รูปแบบ = void useSkill_Location( int x , int y , string skill_name , int lv );

ตัวอย่าง
นายไก่กาอาราเร่ กระซิบมาที่บอทสั่งสตอมกัส เนื่องจากมันทำงานในกลุ่มแชท จึงให้ทำงานใน procedure main_chat

หมายเหตุ โปรดตรวจสอบสกิลให้ครบถ้วนก่อนใช้งาน
ยังไม่ได้ทดสอบ

sub main_chat {

if ( msgPM("กัส",1 , "นายไก่กาอาราเร่")) {       
    $x = getPeopleX( "นายไก่กาอาราเร่" );
    $y = getPeopley( "นายไก่กาอาราเร่" );

    if ( onSP() > 10 ) {
        useSkill_Location( $x , $y , "Strom Gust" , 10 );
    } else {
        sendCommand( "c sp น้อยแล้ว ไม่กัสนะ" );
    }
}

}


Related

Wiki: All command