Thread: setshootdamage
View Single Post
  #37  
Old 05-16-2002, 12:47 PM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
typical script:
NPC Code:

if(playerenters) toweapons basicattack;
if(weaponfired&&playerdarts>0){
playerdarts--;
for(this.i=1;this.i<playerscount;this.i++){
if(((players[this.i].x-playerx)^2)+((players[this.i].y-playery)^2)<100) hitplayer this.i,playerswordpower,playerx,playery;
}
}


How hard would that be?
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote