requesting for a shop NPC that will jump on random location after a player bought an item
like jumper event but shop NPC..
like prontera,155,155,5 shop annie 757,501:50,502:50,503:50
set $@ran, rand(1,10);
if ($@ran == 10) set $@jmpmap$,"hugel";
if ($@ran == 9) set $@jmpmap$,"yuno";
if ($@ran == 8) set $@jmpmap$,"comodo";
if ($@ran == 7) set $@jmpmap$,"xmas";
if ($@ran == 6) set $@jmpmap$,"aldebaran";
if ($@ran == 5) set $@jmpmap$,"izlude";
if ($@ran == 4) set $@jmpmap$,"payon";
if ($@ran == 3) set $@jmpmap$,"geffen";
if ($@ran == 2) set $@jmpmap$,"morocc";
if ($@ran == 1) set $@jmpmap$,"prontera";
OnBuyItem:
movenpc "annie"+$@ran+"",1,1; //move the NPC
setnpcdisplay "annie"+$@ran+"",1002;
end;
}
requesting for a shop NPC that will jump on random location after a player bought an item
like jumper event but shop NPC..
like prontera,155,155,5 shop annie 757,501:50,502:50,503:50
set $@ran, rand(1,10);
if ($@ran == 10) set $@jmpmap$,"hugel";
if ($@ran == 9) set $@jmpmap$,"yuno";
if ($@ran == 8) set $@jmpmap$,"comodo";
if ($@ran == 7) set $@jmpmap$,"xmas";
if ($@ran == 6) set $@jmpmap$,"aldebaran";
if ($@ran == 5) set $@jmpmap$,"izlude";
if ($@ran == 4) set $@jmpmap$,"payon";
if ($@ran == 3) set $@jmpmap$,"geffen";
if ($@ran == 2) set $@jmpmap$,"morocc";
if ($@ran == 1) set $@jmpmap$,"prontera";
OnBuyItem:
movenpc "annie"+$@ran+"",1,1; //move the NPC
setnpcdisplay "annie"+$@ran+"",1002;
end;
}
Share this post
Link to post
Share on other sites