RS Attacks

By Testor on Mar 13, 2009

(First Script I Actually Wrote)
Meh, took a bi, it's ok, not great though.
So Far: !ags !dclaws !dds !gmaul !whip !cbow !dbow

on *:TEXT:!DDS*:#: {
  set %DDS1 $rand(0,26)
  set %DDS2 $rand(0,24)
  set %DDS $calc( %DDS1 + %DDS2 )
  set %hpd $calc(99 - %DDS )
  /notice $nick $nick Slashes $2 With His DDS, Hitting 3 %DDS1 $+ , $+ %DDS2 $+ , Totalling 3 %DDS Damage. 
  if (%hpd <= 0 ) {
    notice $nick $2 is Dead!!!
  }
  if (%hpd >= 0 ) {
    /notice $nick $2 Has 3 %HPD HP Left.
  }

}
on *:TEXT:!GMAUL*:#: {
  set %GMAUL1 $rand(0,33)
  set %GMAUL2 $rand(0,33)
  set %GMAUL3 $rand(0,33)
  set %GMAUL $calc(%GMAUL1 + %GMAUL2 + %GMAUL3)
  set %hpg $calc(99 - %GMAUL )
  /notice $nick $nick Pounds $2 With His Gmaul, Hitting 3 %GMAUL1 $+ , $+ %GMAUL2 $+ , $+ %GMAUL3 ,  Totalling 3 %GMAUL Damage. 
  if (%hpg <= 0 ) {
    notice $nick $2 is Dead!!!
  }
  if (%hpg >= 0 ) {
    /notice $nick $2 Has 3 %HPG HP Left.
  }

}

on *:TEXT:!Whip*:#: {
  set %WHIP1 $rand(0,60)
  set %HPW $calc(99 - %WHIP1)
  /notice $nick $nick Slashes $2 With His Abyssal Whip, Hitting 3 %WHIP1  $+ .
  if (%hpw <= 0 ) {
    notice $nick $2 is Dead!!!
  }
  if (%hpw >= 0 ) {
    /notice $nick $2 Has 3 %HPW HP Left.
  }
}

on *:TEXT:!AGS*:#: {
  set %AGS1 $rand(0,78)
  set %AGS2 $rand(0,21)
  set %AGS $calc(%AGS1 + %AGS2)
  set %HPAGS $calc(99 - %AGS)
  /notice $nick $nick Twirls In The Air, Hits $2 With 2 Ags Specs, Hitting 3 %AGS1 $+ , $+ %AGS2  $+ , Totaling 3 %AGS  $+ .
  if (%hpAGS <= 0 ) {
    /notice $nick $2 is Dead!!!
  }
  if (%hpAGS >= 0 ) {
    /notice $nick $2 Has 3 %HPAGS HP Left.
  }
}

on *:TEXT:!DCLAWS*:#: {
  set %Claws1 $rand(0,49)
  set %Claws2 $calc(%claws1 / 2)
  set %Claws3 $calc(%claws1 - %claws2)
  set %Claws4 $calc(%claws3 / 2)
  set %Claws $calc(%Claws1 + %Claws2 + %Claws3 + %Claws4)
  set %hpclaws $calc(99 - %Claws )
  /notice $nick $nick PJ's $2 With His Dragon Claws, Hitting 3 %claws1  $+ , 3 %claws2  $+ , 3 %claws3  $+ , 3 %claws4  $+ , Totaling 3 %claws  $+ .
  if (%hpclaws <= 0 ) {
    /notice $nick $nick $2 is Dead!!!
  }
  if (%hpclaws >= 0 ) {
    /notice $nick $2 Has 3 %HPclaws HP Left.
  }
}

on *:TEXT:!Cbow*:#: {
  set %CBOW1 $rand(0,68)
  set %CBOW $calc(99 - %CBOW1)
  /notice $nick $nick Fires A Dragonstone Bolt At $2 $+ , Hitting 3 %CBOW1  $+ .
  if (%CBOW <= 0 ) {
    notice $nick $2 is Dead!!!
  }
  if (%CBOW >= 0 ) {
    /notice $nick $2 Has 3 %CBOW HP Left.
  }
}

on *:TEXT:!DBOW*:#: {
  set %DBOW1 $rand(0,49)
  set %DBOW2 $rand(0,48)
  set %DBOW $calc(%DBOW1 + %DBOW2)
  set %HPD $calc(99 - %DBOW)
  /notice $nick $nick Shoots 2 Dragon Arrows Towards $2 $+ , Hitting 3 %DBOW1  $+ , $+ 3 %DBOW2  $+ , Totaling 3 %DBOW  $+ .
  if (%HPD <= 0 ) {
    notice $nick $2 is Dead!!!
  }
  if (%hpd >= 0 ) {
    /notice $nick $2 Has 3 %HPd HP Left.
  }
}

on *:TEXT:!RSAttacks*:#: {
  /notice $nick My RS Weapon Attack Commands Are: 
  /notice $nick !Whip (One Hit, Max 60.) 
  /notice $nick !DDS (Two Hits, Max 50 (26 First Hit, 24 Second Hit.)) 
  /notice $nick !Gmaul (3 Hits, Max 99 (33 First, Seconds, And Third Hits.))
  /notice $nick !AGS (2 Hits, Max 150 (78 First, 72 Second))
  /notice $nick !DClaws (Four Hits, Max ~99 (49 First, 24.5 Second, 12.25 third, 1.25 Fourth))
  /notice $nick !Cbow (One Hit, Max 68.)
  /notice $nick !DBow (Two Hits, Max 97 (49 First, 48 Second))
}

Comments

Sign in to comment.
Kirby   -  Mar 22, 2009

sercan386: shh... :p

 Respond  
sercan386   -  Mar 21, 2009

lol kirby its a lie i test scripts that look worthy to be tested :P
It helps, when the maker puts in a SCREENSHOT, so that it will attract users to TEST it.

 Respond  
Xerrion   -  Mar 15, 2009

Pretty nice code there.
Worked fine for me, but I'm not planning to use it.
7/10

 Respond  
Viper01   -  Mar 14, 2009

instead of using the Set command for the $rand parts, use:

var %<W/e> $r(#,#)

Works alot better and you dont have to unset the variable every time.

 Respond  
Kirby   -  Mar 14, 2009

Simply looking at a strip of code and visually rating can work, but only to a certain extent; especially if the script has potential. You don't want to just base a code's quality just on how one "likes it or not".
If someone were to make a very useful script in the most "concise, fastest" way possible, the concept of someone rating it a score of 1 or 2 just because he or she based it upon the creativity and the originality put into the script, is just utterly..retarded.
Rating isn't just about whether you like it or not; it's about how the code is put together, how much the intro. fully explains the script as whole, and much, MUCH more.
For those people who randomly rate a low score: Have you ever even taken a look at how the rating system works?

  • 1 - (Bad,Ripped)
  • 2 - (Incomplete)
  • 3 - (Not useful)
  • 4 - (Mediocre)
  • 5 - (Average)
  • 6 - (Neat)
  • 7 - (Useful)
  • 8 - (Very Useful)
  • 9 - (Exceptional)
  • 10 - (Best)So before you rate, read what the snippet poster has to say, take a look at the script, and actually TRY to TEST IT.
    If you are just not intrigued enough to even take a glance at the code, then don't bother rating. Of course, putting negative comments but with constructive criticism sounds bad, but it's better than "I rated a 1 because I didn't like it".
    Test the snippet out before you rate, or don't rate at all!
 Respond  
PATX   -  Mar 14, 2009

sercan386: i never test either! i look at the code and try to see if it has a point.

 Respond  
sercan386   -  Mar 14, 2009

my scores are based on the comments people make coz i never test it but i do and i dont like these fight scripts coz they are for idiots so i give you an 8 :)

 Respond  
Blitzjager   -  Mar 13, 2009

My scores are based more on how much I like it than the coding.

 Respond  
PATX   -  Mar 13, 2009

uh are u high slacker???? "....give it a 2 but the code is" if the code was bad i would have given it a 2 for:

  1. Bad Code
  2. I do not like attack scripts

however i gave it a 3 for the code.

 Respond  
slacker   -  Mar 13, 2009

so PATX you are giving scores based on if you like it, and not on how it's coded?

 Respond  
PATX   -  Mar 13, 2009

i personally do not support "attack" scripts so i give it a 3. i would give it a 2 but the code is pretty good....

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.