Starter Battle Bot - Attack Alias

By Romeo on Apr 14, 2006

wow I Foregot to add this Part, ROFL!! No one said anything... any who This is the alias version where the attacks will hit

Punch {
  if ($readini($1 $+ .ini,$1,Attacking) == no) { halt }
  writeini $1 $+ .ini $1 Attacking No
  set %base.power $Rand(10,15)
  set %ExpGain $Rand(3,6)
  set %defense.power [ $readini $2 $+ .ini $2 Defense ]
  set %attack.power [ $readini $1 $+ .ini $1 Attack ]  
  set %Damage $calc( %base.power + (%attack.power - %defense.power))
  if (%Damage < 1) { set %Damage 1 }
  msg %ChanSet $Name($1) 4Punches $Name($2) 4in the face doing $bytes(%damage,b) damage! 12(0Gained14 %Exp 0Exp12) 
  writeini $2 $+ .ini $2 Hp $calc($readini($2 $+ .ini,$2,Hp) - %Damage)
  writeini $1 $+ .ini $1 Exp $calc($readini($1 $+ .ini,$1,Exp) + %Exp)
  LvLCheck $1
  DeadCheck $1 $2 
}
DragonFist {
  if ($readini($1 $+ .ini,$1,Attacking) == no) { halt }
  writeini $1 $+ .ini $1 Attacking No
  set %base.power $Calc(2 * [ $readini $1 $+ .ini $1 Attack ] )
  set %ExpGain $Rand(3,6)
  set %defense.power [ $readini $2 $+ .ini $2 Defense ]
  set %attack.power [ $readini $1 $+ .ini $1 Attack ]  
  set %Damage $calc( %base.power + (%attack.power - %defense.power))
  if (%Damage < 1) { set %Damage 1 }
  msg %ChanSet $Name($1) 4Bashes His Fist into $Name($2) $+ 4's Jaw doing $bytes(%damage,b) damage! 12(0Gained14 %Exp 0Exp12) 
  writeini $2 $+ .ini $2 Hp $calc($readini($2 $+ .ini,$2,Hp) - %Damage)
  writeini $1 $+ .ini $1 Exp $calc($readini($1 $+ .ini,$1,Exp) + %Exp)
  LvLCheck $1
  DeadCheck $1 $2 
}
HeavyFist {
  if ($readini($1 $+ .ini,$1,Attacking) == no) { halt }
  writeini $1 $+ .ini $1 Attacking No
  set %base.power $Calc(2 * [ $readini $1 $+ .ini $1 Attack ] )
  set %ExpGain $Rand(3,6)
  set %defense.power [ $readini $2 $+ .ini $2 Defense ]
  set %attack.power [ $readini $1 $+ .ini $1 Attack ]  
  set %Damage $calc( %base.power + (%attack.power - %defense.power))
  if (%Damage < 1) { set %Damage 1 }
  msg %ChanSet $Name($1) 4Bashes His Fist into $Name($2) $+ 4's Gut doing $bytes(%damage,b) damage! 12(0Gained14 %Exp 0Exp12) 
  writeini $2 $+ .ini $2 Hp $calc($readini($2 $+ .ini,$2,Hp) - %Damage)
  writeini $1 $+ .ini $1 Exp $calc($readini($1 $+ .ini,$1,Exp) + %Exp)
  LvLCheck $1
  DeadCheck $1 $2 
}
Slash {
  if ($readini($1 $+ .ini,$1,Attacking) == no) { halt }
  writeini $1 $+ .ini $1 Attacking No
  set %base.power $Rand(15,20)
  set %ExpGain $Rand(3,6)
  set %defense.power [ $readini $2 $+ .ini $2 Defense ]
  set %attack.power [ $readini $1 $+ .ini $1 Attack ]  
  set %Damage $calc( %base.power + (%attack.power - %defense.power))
  if (%Damage < 1) { set %Damage 1 }
  msg %ChanSet $Name($1) 4Slashes $Name($2) 4doing $bytes(%damage,b) damage! 12(0Gained14 %Exp 0Exp12) 
  writeini $2 $+ .ini $2 Hp $calc($readini($2 $+ .ini,$2,Hp) - %Damage)
  writeini $1 $+ .ini $1 Exp $calc($readini($1 $+ .ini,$1,Exp) + %Exp)
  LvLCheck $1
  DeadCheck $1 $2 
}

Comments

Sign in to comment.
Ghost-writer   -  Feb 19, 2010

This is missing a lot of stoof :<.

 Respond  
Metallboy100   -  Aug 22, 2007

sorry dont know how to use it

 Respond  
|MELIORITE|   -  Jun 03, 2007

Its only part of a whole snippet... and, the aliases need to be set correctly.

 Respond  
BrainBryce   -  Apr 21, 2007

yeh same

 Respond  
MAcMAD   -  Dec 08, 2006

DRAGONFIST Unknown command
PUNCH Unknown command

It keeps tuning me that.

 Respond  
Romeo   -  Apr 22, 2006

There was a glitch
writeini $2 $+ .ini $2 Hp $calc($readini($1 $+ .ini,$1,Hp) - %Damage)
Should of been
writeini $2 $+ .ini $2 Hp $calc($readini($2 $+ .ini,$2,Hp) - %Damage)
I Changed it, so like if your using this, Update it

 Respond  
vampslim   -  Apr 16, 2006

Romeo. How about you get all those bot codes you made. Put them together. And make a addon instend of making 6 codes of one single bot.

 Respond  
Romeo   -  Apr 16, 2006

If you scroll down the other parts of this snippet are there, i seem\'d to have foregotten to give this part, where the part actually hits and stuff... No one said anything. shows who have tested it and who haven\'t

 Respond  
LIQUID_NiTrO   -  Apr 15, 2006

Ehm...
What exactly is it?

 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.