In the dunedain horde:
; --------- ATHELAS ----------------------------------------------------------------- Behavior = SpecialPowerModule ModuleTag_AragornAthelas SpecialPowerTemplate = SpecialAbilityDunedainAthelas UpdateModuleStartsAttack = Yes TriggerFX = FX_AragornAthelas End Behavior = SpecialAbilityUpdate ModuleTag_AragornAthelasUpdate SpecialPowerTemplate = SpecialAbilityDunedainAthelas StartAbilityRange = 1.6 UnpackTime = 1 ; Nothing to touching it PreparationTime = 3 ; touching it to grabbing it PackTime = 2096 ; whacking it to holding it nice AwardXPForTriggering = 0 End Behavior = AutoAbilityBehavior ModuleTag_AthelasAutoAbility SpecialAbility = SpecialAbilityDunedainAthelas MaxScanRange = 150 Query = 1 ANY ALLIES +HORDE; 2 friendly hordes or an enemy End
In specialpower.ini:
;------------------------------------------------------------------------------ SpecialPower SpecialAbilityDunedainAthelas Enum = SPECIAL_ATHELAS ReloadTime = 90000 RadiusCursorRadius = 150.0 InitiateAtLocationSound = AragornAthelesEffect End
commandbutton:
CommandButton Command_SpecialAbilityAthelasDunedain Command = SPECIAL_POWER SpecialPower = SpecialAbilityDunedainAthelas TextLabel = CONTROLBAR:Athelas ButtonImage = HSAragornAthelas CursorName = Bombard RadiusCursorType = AthelasRadiusCursor InvalidCursorName = GenericInvalid ButtonBorderType = ACTION DescriptLabel = CONTROLBAR:ToolTipAthelas InPalantir = Yes AutoAbility = Yes PresetRange = 100.0 NeedDamagedTarget = Yes End