
10-30-2009, 03:24 AM
|
|
Deas
|
 |
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
|
|
Quote:
Originally Posted by Switch
PHP Code:
if (action == "hurt") { //a spell that hurts a player if (cast == "projectile") { //a hurt spell that is a projectile freezePlayer(freeze); setani("grab",null); //placeholder sleep(freeze); setShootParams("spell","hurt",power,player.account,player.guild); temp.angle = getangle(vecx(player.dir),vecy(player.dir)); //shoots in a straight line shoot(player.x+vecx(player.dir),player.y+vecy(player.dir),player.z,angle,0,0,ani,null); } }
Had the second param in setShotParams as "heal" instead of "hurt".
|
....lol
Edit: in lack of players to test it on, i can't test it ATM. |
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK! if you are going to rep me, don't be an idiot, leave your name!I got nothing but love for you 
|
Last edited by Deas_Voice; 10-30-2009 at 03:38 AM..
|
|
|