Recent changes Random page
GAMING
Gaming
 
WoWWiki
Halopedia
FFXIclopedia
Age of Conan
Warhammer Online
Grand Theft Wiki
See more...

Damage weapons on doors CEP

From NWNWiki

Jump to: navigation, search

Damage weapons on doors CEP is a feature of OSRS.

This feature considers the possibility of damaging the weapon used to bash a door. Requires the expansion packs SoU, HotU, and CEP.

Original source code is posted on NWVault here: http://nwvault.ign.com/View.php?view=scripts.Detail&id=2908


Full description is copied from the NWVault link: This is a custom script to go on a door's OnPhysicalAttacked event. When a creature attacks a door with a weapon, there is a chance for the weapon to be damaged (Temporary Damage Penalty Item Property).

Different weapons have different chances to be damaged. Ex: Mauls/Warhammers have 0% Chance of being damaged; Daggers have something around 70% Chance of getting damaged.

The amount of damage penalty also varies depending on the weapon.

Default Duration is 1 hour(3600 seconds), base chance is 20%... these can be changed within the script.

Update: Fixed script to display Character name instead of GSpy ID

Also included an erf with a sample area, and NPC blacksmith which can repair damaged weapons. (Will only remove temporary damage penalty effects, he doesn't touch permanent damage penalty properties.


Rate this article:
Share this article: