On Use Last Weapon

This script is called at the time a character makes an attack with a weapon and that weapon is lost. For example, a Goblin might throw his last remaining club at the target. This hook allows you to do whatever actions should be taken when the last of the weapons is lost. If, for example, the club had any magical properties, then those magical properties should be removed at this time.
Scripts named OnUseLastWeapon are called, first for the item itself and then for the character.

Context


Character