ID:150001
Jan 9 2002, 10:50 am
|
|
how do i make it so my damage*power/M.defense i tryed this and irt errored
|
In response to Air _King
|
|
He's not making aDBZ game.
|
mob/var That should work! |
In response to Air _King
|
|
just so you know im not making a dbz game and i feal it as an insalt for you saying that
|
In response to Air _King
|
|
and the problem is that doesnt use the enemys defense thats all my defense, heres what im using it for:
slash(mob/M as mob in oview(1)) set category = "Attack" if (M.HP <= 0) //if M's HP are at or below 0... usr << "[M] is already dead!" else //otherwise... var/damage = rand(1,5) usr << "You Slash [M]![damage*power]" oview(2) << "[usr] slashed [M]![damage*power]" M.HP -= damage*power M.DeathCheck() i need that to be able to check enemys defense and thusly decress the damage done |
In response to Nadrew
|
|
I reckon that misunderstanding is a result of Scoobert's really bad DBZer-class writing. Maybe if he wrote more legibly, people would be more inclined to help him as well as understanding what he's trying to get across.
|
2) Your lucky im in a good mood
try var/damage=usr.power*usr.ihatedbz/usr.whatever