Jump to content

SalamandeRz

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by SalamandeRz

  1. Hi guys
    I'm trying to make NPC_GRANDDARKNESS to show animation even though skill didn't attack anyone.
    like this

     

    I try to use unitskillusepos and unitskilluseid to do but it didn't work 

    here is my testing script
     

    Quote

    prontera,152,183,5    script    #TEST    444,{
            donpcevent "#TEST1::OnStart";
            end;
    }
    prontera,0,0,5    script    #TEST1    139,{
        end;
    OnStart:
             monster "prontera", 155, 183, "--ja--", 20581, 1,"#TEST1::OnThorn1D";
             .ThornAlive = 1;
             [email protected]_gid = [email protected][0];
             sleep 3000;
             unitskilluseid [email protected]_gid,353,5;
            initnpctimer;
            end;
    OnTimer1000:
                if(.ThornAlive == 1){
                    if ( unitexists([email protected]_gid) ) {
                    getunitdata([email protected]_gid, [email protected]);
                    [email protected] = [email protected][UMOB_X];
                    [email protected] = [email protected][UMOB_Y];
                        for( [email protected] = 1; [email protected] < 2; [email protected]++){
                            donpcevent "#ThornOGH::OnThorn"[email protected];
                        }
                    }
                }
            end;
    OnThorn1D:
        .ThornAlive -= 1;
        end;
    }
    doubrius,0,0,5    script    #ThornOGH    139,{
        end;
    OnThorn1:
        setunitdata [email protected]_gid,UMOB_MODE,134217728;
        for ( [email protected] = 0; [email protected] < 3; [email protected]++){
            unitskillusepos [email protected]_gid,339,5,[email protected],[email protected],-1000;
            sleep 2000;
        }
        unitkill [email protected]_gid;
        end;
    }


    How to prevent dection skill for "Thorn"
    -> I'm try to set mobmode to Skillimmune and Ignoremagic but Mob get detect by Sign and Ruwach 

    Thanks for your help.

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.