So I'm creating a monk and since the damage calculations do not work for bare-handed combat, I've created "fist wraps" that can be bought from a merchant that I created. Since this is meant to simulate bare-handed combat, I really need to prevent magic ones from spawning. Here is a snippet from my spawn class for my merchant:
[SPAWNCLASS]
<STRING>NAME:MERCHANT_MONK_FIST_WRAPS
[OBJECT]
<STRING>UNIT:FIST_WRAP
<INTEGER>WEIGHT:-1
<INTEGER>RARITY_OVERRIDE:1
<INTEGER>MINCOUNT:2
<INTEGER>MAXCOUNT:2
<BOOL>NO_MAGIC_ITEMS:1
<BOOL>NO_UNIQUE_ITEMS:1
<BOOL>IGNORE_RANGE:1
[/OBJECT]
[OBJECT]
<STRING>UNIT:FIST_WRAP_5
<INTEGER>WEIGHT:-1
<INTEGER>RARITY_OVERRIDE:1
<INTEGER>MINCOUNT:2
<INTEGER>MAXCOUNT:2
<BOOL>NO_MAGIC_ITEMS:1
<BOOL>NO_UNIQUE_ITEMS:1
<BOOL>IGNORE_RANGE:1
[/OBJECT]
...
As you can see, I'm attempting to force 2 of each (the _5 is the level, so I have _10, _15, etc. up to level 100) to be able to buy from the merchant. This is the merchant code:
[UNIT]
<STRING>BASEFILE:media/units/monsters/base.dat
<STRING>NAME:MONK_MERCHANT
<STRING>RESOURCEDIRECTORY:media/models/npcs/est_m
<TRANSLATE>DESCRIPTION:Monk Merchant
<STRING>MESHFILE:npc_esm_town_01
<STRING>ALIGNMENT:NEUTRAL
<STRING>UNITTYPE:MERCHANT
<FLOAT>COLLISION_RADIUS:1.5
<FLOAT>MAXHP:250
<FLOAT>MINHP:250
<INTEGER>MINDAMAGE:100
<FLOAT>WALKINGSPEED:0
<FLOAT>RUNNINGSPEED:0
<FLOAT>PLAYER_LEVEL_FOR_MERCHANT:1
<FLOAT>SCALE:1
<INTEGER>RARITY:0
<TRANSLATE>DISPLAYNAME:Arden the Merchant
<STRING>NPCGREET:ScotGreet
<STRING>NPCBYE:ScotBye
<INTEGER>LEVEL:1
<INTEGER>MAXDAMAGE:125
<FLOAT>TURN_RATE:0
<STRING>GOLD_SOUND:GOLDPICKUP
<INTEGER>MERCHANT_LOOT_LEVEL_OFFSET_MIN:-1
<INTEGER>MERCHANT_LOOT_LEVEL_OFFSET_MAX:3
<INTEGER>MINIMUM_MERCHANT_LEVEL:7
<INTEGER>MERCHANTTAB:1
<STRING>UNIT_GUID:5782696698541290877
<STRING>CHEST_OVERRIDE:ESTHERIAN_02_CHEST
<STRING>BOOTS_OVERRIDE:ESTHERIAN_01_BOOTS
<STRING>PANTS_OVERRIDE:ESTHERIAN_02_PANTS
<BOOL>ALWAYSACTIVE:1
<BOOL>DAMAGEABLE:0
<BOOL>INVINCIBLE:1
<BOOL>RENDERBEHIND:0
<BOOL>ALLOWS_MERCH_MAGICAL:0
<BOOL>LOCALONLY:1
<BOOL>DROP_TO_GROUND:0
[INTERACT_UI]
<STRING>UIMENU:MERCHANTMENU
<STRING>UIMENU:PLAYERINVENTORYMENU
[/INTERACT_UI]
[INVENTORY]
<STRING>CONTAINER:Merchant Armors
<STRING>CONTAINER:Merchant Buy Back Bag
<STRING>CONTAINER:Merchant Weapons
<STRING>CONTAINER:MERCHANTBODY
<STRING>CONTAINER:MERCHANTITEM
<STRING>CONTAINER:Pointer
[/INVENTORY]
[TREASURE]
<STRING>SPAWNCLASS:MERCHANT_MONK_FIST_WRAPS
<INTEGER>MIN:1
<INTEGER>MAX:1
[/TREASURE]
[ANIMATION_ALTS]
[/ANIMATION_ALTS]
[EQUIPMENT]
[/EQUIPMENT]
[MESHFILES]
<STRING>MESHFILE:npc_esm_town_01
[/MESHFILES]
[/UNIT]
As you can see, I set the ALLOWS_MERCH_MAGICAL to 0 to also try to prevent magical items. Here is an example of one of the fists:
[UNIT]
<STRING>CREATEAS:EQUIPMENT
<STRING>UNITTYPE:MONK FIST
<INTEGER>MAXDAMAGE:100
<STRING>FALL_SOUND:Item Fall
<STRING>TAKE_SOUND:AxeGet
<STRING>LAND_SOUND:AxeDrop
<STRING>STRIKE_SOUND:SwordFlesh
<STRING>ATTACK_SOUND:SwordSwing
<FLOAT>STRIKERANGE:0.7
<FLOAT>RANGE:0.5
<STRING>GAMBLER_ICON:icon_weapon_claw01
<STRING>ICON:icons_armor_wanderer_belt07
<TRANSLATE>DISPLAYNAME:Fist Wrap
<FLOAT>WEAPONARC:0
<FLOAT>SECONDARY_DMG_PCT:0
<STRING>NAME:fist_wrap_10
<FLOAT>DEVIATION_FROM_30FPS:0.8
<TRANSLATE>DESCRIPTION:Protective wrapping for monks to fight without weapons.\n\nRequired to be dual-wielded for bare-handed monk skills. (Wraps are available for every 5 character levels. There is a merchant in the Estherian Enclave that sells the wraps (near the respec merchant))
<INTEGER>RARITY_DMG_MOD:200
<FLOAT>SOAKSCALEPCT:50
<STRING>BASEFILE:media/units/items/fists/base_fist.dat
<INTEGER>SPEED:70
<INTEGER>SPEED_DMG_MOD:60
<INTEGER>LEVEL_REQUIRED:10
<INTEGER>DEFENSE_REQUIRED:200
<INTEGER>MAGIC_REQUIRED:200
<INTEGER>STRENGTH_REQUIRED:200
<INTEGER>DEXTERITY_REQUIRED:200
<INTEGER>SOCKETS:0
<INTEGER>MAX_SOCKETS:0
<STRING>RESOURCEDIRECTORY:media/models/weapons
<STRING>MESHFILE:invisible_weapon
<INTEGER>LEVEL:10
<INTEGER>MINDAMAGE:70
<INTEGER>MINLEVEL:0
<INTEGER>MAXLEVEL:30
<STRING>UNIT_GUID:3018375431840284113
<INTEGER>DAMAGE_PHYSICAL:100
<INTEGER>RARITY:0
[REQ_CLASS]
<STRING>UNITTYPE:MONK
[/REQ_CLASS]
[STATS]
[/STATS]
[/UNIT]
Despite all these things I've tried, the merchant occasionally has green items (as my char levels up there are spawning more frequently). How can I stop it from adding magical properties to these items in the merchant (is this adding item affixes or something)?
The items inherit from "NORMAL FIST" so there should be no magical properties.
Thanks for any help