SetEquippedWeaponPoison

Revision as of 22:33, 25 August 2007 by imported>Haama (Oops, not type...)

SetEquippedWeaponPoison - sets the poison applied to the equipped weapon and returns the previous poison. Called on the weapon holder.

(oldPoison:ref) reference.SetEquippedWeaponPoison nuPoison:ref

Notes

  • Poison means the base object item.
  • Using SetEquippedWeaponPoison when the reference doesn't have a poison-able weapon (hand to hand or staves) is the same as a Return.
  • You can set a potion to a weapon, as well as poisons.
    • Unlike poisons, the effects will be applied directly to the player (both positive and negative effects).
    • Untested for blade/blunt, but for bows the effects will be applied whenever the arrow hits something, not just when it hits an NPC.
    • It's not clear whether this counts towards the player's active potions limit - the effects of a single poison could be applied more than 4 times (with multiple poison applications and hits), but whether 5 different potions can affect the player hasn't been tested.

See Also