if(Z.Attackpower==usr.attackpower)
How would you ask dm if the usr attackpower is double the Z usr.
For Example:
if(Z.Attackpower==usr.attackpower)
How would you ask dm if the usr attackpower is double the Z usr. |
var/mob/attacker = new(src) |
You can use the multiplication operator (*):
if(usr.attackpower == (Z.attackpower * 2))
|
if(Z.Attackpower==2*usr.attackpower)