ItemDamage
Usage:
ItemDamage(Item)
Description:
The ItemDamage command returns the weapon damage of an item retrieved using ActorWeapon, and similar commands. This value is meaningless for items which are not weapons.
Example:
Function Main()
MyDamage = ItemDamage(ActorWeapon(Actor()))
Output(Actor(), "Your weapon does " $+ MyDamage $+ " points of damage")
Return()
End Function
Comments (0)
You don't have permission to comment on this page.