no one knows? is it possible
|
I'm trying to add fight caves onto my server and I started by trying to make Jad I'm using NPCemotes.cfg so how would I go about adding jad does different attacks.
Devolution based.
no one knows? is it possible
use misc.random.
like..
if(blablaba == npcid){
int jadStyle = misc.random(4);
if(jadStyle == 0){
blabla
} else if(jadStyle == 1){//Magic
blabla
} else {//Range
blabla
}
}
Range is more common, which is why i did misc.random(4), and not misc.random(3)
you might even want to make it misc.random(5)
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |