I've created two Wizard Weapons in weapons.ini
one is based on the CaH Melee Weapon
the other launches a tiny firbolt damage nugget
Since Lurtz can use his Bow both for Ranged and Melee Combat
I thought, I could do the same for the Wizard's Staff.
Right now I added the following Code to createaheroweaponupgrades.inc
//------------------------------------------------------------- // Wizard Staff 1 Weapon upgrade. violett light //------------------------------------------------------------- WeaponSet Conditions = WEAPONSET_CREATE_A_HERO_WS_07 //CLOSE_RANGE CONTESTING_BUILDING Weapon = PRIMARY WizardStaffLightning AutoChooseSources = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI End WeaponSet Conditions = CLOSE_RANGE Weapon = PRIMARY WizardStaffLightning Weapon = SECONDARY WizardStaff OnlyAgainst = PRIMARY STRUCTURE End Behavior = DualWeaponBehavior ModuleTag_WSMelee SwitchWeaponOnCloseRangeDistance = 30 End
But it doesn't work.
Any Ideas?
Edited by Imladhrim, 08 January 2007 - 04:31 PM.