This seems pretty useful. I'll probably find a way to incorparate it into my quest before the day is done.
And just for fun...
Code:ffc script flamethrower{ void run(int t,int c,int d,int n,int f,int a){ if(a==0) a=1; if(d==0) d=4; Waitframes(4); npc e = Screen->LoadNPC(a); while(e->isValid()){ homingprojectile(e->X,e->Y,t,c,d,2,n,f); Waitframe(); } } }
D0: tile for projectile to use
D1: cset
D2: damage (default 1 heart)
D3: number of frames of animation of projectile
D4: speed of animation
D5: enemy to put flamethrower attack onto (default 1)
Only problem being that the fireballs are blocked even by the small shield.
Any way I can stop that?
Oh, and obviously it won't work without the homingprojectile void in the same script.
I also added a 'CSet' parameter into the void.
Just an oversight on the earlier version.
There are currently 1 users browsing this thread. (0 members and 1 guests)