Difference between revisions of "ModAttackDamage"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(Add example)
imported>WereWolf
Line 1: Line 1:
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
ModAttackDamage - modifies the base attack damage up or down.


'''Syntax:'''
'''Syntax:'''
  (nothing) ''reference.''ModAttackDamage modifyBy:float ''objectID:ref''
  (nothing) ''reference.''ModAttackDamage modifyBy:float ''objectID:ref''
Modifies the base attack damage up or down.
'''Example:'''
'''Example:'''
  ref Weapon
  ref Weapon

Revision as of 13:22, 14 September 2007

A command for Oblivion Script Extender

Syntax:

(nothing) reference.ModAttackDamage modifyBy:float objectID:ref

Modifies the base attack damage up or down.

Example:

ref Weapon
float WeaponDamage
set Weapon to player.GetEquippedObject 16
Weapon.ModAttackDamage 10

Add 10 to the current player's equipped weapon attack damage.

See Also