- Saruman is located in data/ini/object/evilfaction/units/isengard/saruman.ini.
- We look for his weapon: It's called SarumanWeapon.
- We find his weapon's properties: This time, they're in the weapon.ini.
- We paste our new MetaImpactNugget to the weapon. Saruman already has knockback, so you can choose between replacing the old nugget or simply adding the new one on top of it. This is what it should look like after replacing the old nugget:
Weapon SarumanWeapon
IdleAfterFiringDelay = 0
LeechRangeWeapon = Yes
AttackRange = STANDARD_MELEE_ATTACK_RANGE
MeleeWeapon = Yes
DelayBetweenShots = SARUMAN_DELAYBETWEENSHOTS ; time between shots, msec
PreAttackDelay = SARUMAN_PREATTACKDELAY ; 433 is natural time of the stabbing animation.
PreAttackType = PER_SHOT ; Do the delay each time we attack a new target
FiringDuration = SARUMAN_FIRINGDURATION ; min 600 for anim
FireFX = FX_GondorSwordHit
DamageNugget ; A basic Nugget that just does damage
Damage = SARUMAN_DAMAGE
Radius = 0.0
DelayTime = 0
DamageType = HERO
DamageFXType = SWORD_SLASH
DeathType = NORMAL
End
MetaImpactNugget ; A Nugget that throws things back with force
HeroResist = STRONG_HERO_HERORESIST
ShockWaveAmount = 50.00
ShockWaveRadius = 20
ShockWaveTaperOff = 0.75
ShockWaveZMult = 1.20
End
End