Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
Provisions Magic Weapon question
|
Author |
Message |
RanXerox 
Master
 
Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19
![]()
|
RE: Provisions Magic Weapon question
The wiki explains a little bit how built-in typedef's are implemented... for example:
Quote:t_weapon_mace_smith 11 This type is used for macefighting weapons that can also be used by blacksmiths to forge items. It leverages the following properties:
MORE1L = Max hitpoints
MORE1H = Current hitpoints
MOREY = Attack bonus (percentage), but only if ATTR & attr_magic
The following overrides can be set on a per item basis:
TAG.OVERRIDE.DAMAGETYPE = can be used on a per item basis to override the types of damage this weapon does
TAG.OVERRIDE.SOUND_HIT = can be used on a per item basis to override the sound this weapon makes when it hits
TAG.OVERRIDE.SOUND_MISS = can be used on a per item basis to override the sound this weapon makes when it misses
...so to set the +3 +9 etc, you'r weapon needs to have attr_magic and it needs a number in MOREY...
There are undocumented properties as well that are not in the wiki (yet):
MORE2 = Charges (only if the item is a wand?)
MOREX = Spell imbued in the item
MOREY = Level of the spell (0-1000)
MOREZ = Poison level (0-100)
|
|
03-10-2013 11:32 AM |
|
|
Messages In This Thread |
RE: Provisions Magic Weapon question - RanXerox - 03-10-2013 11:32 AM
|
User(s) browsing this thread: 1 Guest(s)