;------------------------------------------------------------------------------
;---------------------------- GOOD SPELLS T2 ----------------------------------
SpecialPower SpellBookTomBombadil
Enum = SPECIAL_SPELL_BOOK_TOM_BOMBADIL
ReloadTime = 1 ; ; SPELL_RECHARGE_TIME_TIER_2
RadiusCursorRadius = 15.0
RequiredSciences = SCIENCE_TomBombadil
InitiateAtLocationSound = SpellSummonTomBombadilMS ;SpellPalantirVision
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 15.0
End
;------------------------------------------------------------------------------
SpecialPower SpellBookHobbitAllies
Enum = SPECIAL_SPELL_BOOK_HOBBIT_ALLIES
RequiredSciences = SCIENCE_HobbitAllies
ReloadTime = 300000 ; ; SPELL_RECHARGE_TIME_TIER_2
InitiateAtLocationSound = SpellSummonHobbitsMS
RadiusCursorRadius = 100.0
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 100.0
End
;------------------------------------------------------------------------------
SpecialPower SpellBookRebuild
Enum = SPECIAL_SPELL_BOOK_REBUILD
Flags = WATER_OK RESPECT_RECHARGE_TIME_DISCOUNT
ReloadTime = 1 ; ;SPELL_RECHARGE_TIME_TIER_2
RadiusCursorRadius = SPELL_REBUILD_RADIUS_CURSOR
RequiredSciences = SCIENCE_Rebuild
InitiateAtLocationSound = SpellRebuild
; ;
ObjectFilter = NONE +STRUCTURE ALLIES ; ; INDUSTRY_TYPE_SPELL_OBJECT_FILTER
End
;------------------------------------------------------------------------------
SpecialPower SpellBookArrowVolleyGood
Enum = SPECIAL_SPELL_BOOK_ARROW_VOLLEY_GOOD
RadiusCursorRadius = 95
RequiredSciences = SCIENCE_ArrowVolleyGood
ReloadTime = SPELL_RECHARGE_TIME_TIER_2
InitiateAtLocationSound = SpellArrowVolleyMS
ViewObjectDuration = 10000
ViewObjectRange = 200
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End
;------------------------------------------------------------------------------
SpecialPower SpellBookEnshroudingMist
Enum = SPECIAL_SPELL_BOOK_ENSHROUDING_MIST
ReloadTime = 1 ; ; SPELL_RECHARGE_TIME_TIER_2
Flags = WATER_OK RESPECT_RECHARGE_TIME_DISCOUNT
RadiusCursorRadius = ENSHROUDING_MIST_EFFECT_RADIUS
RequiredSciences = SCIENCE_EnshroudingMistMP SCIENCE_EnshroudingMistSP
InitiateAtLocationSound = SpellEnshroudingMist
End
; -----------------------------------------------------------------------------
SpecialPower SpellBookElvenWood
Enum = SPECIAL_SPELL_BOOK_ELVEN_WOOD
RadiusCursorRadius = SPELLBOOK_TAINT_RADIUS ; Match the radius in FXList ElvenWood
RequiredSciences = SCIENCE_ElvenWood
ReloadTime = 1 ; ;SPELL_RECHARGE_TIME_TIER_2
InitiateAtLocationSound = SpellElvenWood
ViewObjectDuration = 5000
ViewObjectRange = SPELLBOOK_TAINT_RADIUS
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NONE +WatcherHead +WatcherHittingArm +WatcherCaldera
ForbiddenObjectRange = SPELLBOOK_TAINT_RADIUS
End
; ; -----------------------------------------------------------------------------
SpecialPower SpellBookElvenWoodMP
Enum = SPECIAL_SPELL_BOOK_ELVEN_WOOD
RadiusCursorRadius = SPELLBOOK_TAINT_RADIUS ; Match the radius in FXList ElvenWood
RequiredSciences = SCIENCE_ElvenWoodMP
ReloadTime = 1
InitiateAtLocationSound = SpellElvenWood
ViewObjectDuration = 15000
ViewObjectRange = SPELLBOOK_TAINT_RADIUS
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NONE +WatcherHead +WatcherHittingArm +WatcherCaldera
ForbiddenObjectRange = SPELLBOOK_TAINT_RADIUS
End
;------------------------------------------------------------------------------
SpecialPower SpellBookDwarvenRiches
Enum = SPECIAL_SPELL_BOOK_DWARVEN_RICHES
ReloadTime = SPELL_RECHARGE_TIME_TIER_2
RadiusCursorRadius = DWARVENRICHES_EFFECT_RADIUS
RequiredSciences = SCIENCE_DwarvenRiches
InitiateAtLocationSound = SpellDwarvenRiches1
Flags = NEEDS_OBJECT_FILTER RESPECT_RECHARGE_TIME_DISCOUNT
ObjectFilter = INDUSTRY_TYPE_SPELL_OBJECT_FILTER
End
;------------------------------------------------------------------------------
SpecialPower SpellBookUndermine
Enum = SPECIAL_SPELL_BOOK_UNDERMINE
RequiredSciences = SCIENCE_Undermine
ReloadTime = SPELL_RECHARGE_TIME_TIER_2 ; in milliseconds
RadiusCursorRadius = SPAWN_UNDERMINE_DECAL_RADIUS ; ;95.0
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NO_SUMMON_UNDERMINE_NEAR_OBJECT_FILTER
ForbiddenObjectRange = SPAWN_UNDERMINE_DECAL_RADIUS
InitiateAtLocationSound = SpellUndermine
End
;------------------------------------------------------------------------------
SpecialPower SpellBookMenOfDaleAllies
Enum = SPECIAL_SPELL_BOOK_MEN_OF_DALE_ALLIES
RequiredSciences = SCIENCE_MenOfDaleAllies
ReloadTime = SPELL_RECHARGE_TIME_TIER_2 ; in milliseconds
InitiateAtLocationSound = SpellSummonDunedainAllies
RadiusCursorRadius = 100.0
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 100.0
End
;------------------------- evil spells T2----------------------------------------
;------------------------------------------------------------------------------
SpecialPower SpellBookIndustry
Enum = SPECIAL_SPELL_BOOK_INDUSTRY
ReloadTime = SPELL_RECHARGE_TIME_TIER_2
RadiusCursorRadius = INDUSTRY_EFFECT_RADIUS
RequiredSciences = SCIENCE_Industry
InitiateAtLocationSound = SpellIndustry
Flags = NEEDS_OBJECT_FILTER RESPECT_RECHARGE_TIME_DISCOUNT
ObjectFilter = INDUSTRY_TYPE_SPELL_OBJECT_FILTER
End
;------------------------------------------------------------------------------
SpecialPower SpellBookDevastation
Enum = SPECIAL_SPELL_BOOK_DEVASTATION
ReloadTime = SPELL_RECHARGE_TIME_TIER_2 ; in milliseconds
RadiusCursorRadius = 150 ;75.0
RequiredSciences = SCIENCE_Devastation
InitiateAtLocationSound = SpellDevastation
ViewObjectDuration = 7500
ViewObjectRange = 150
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End
;------------------------------------------------------------------------------
SpecialPower SpellBookUntamedAllegiance
Enum = SPECIAL_SPELL_BOOK_UNTAMED_ALLEGIANCE
Flags = NEEDS_OBJECT_FILTER RESPECT_RECHARGE_TIME_DISCOUNT
RadiusCursorRadius = 60
RequiredSciences = SCIENCE_UntamedAllegiance
ReloadTime = 1 ; ;SPELL_RECHARGE_TIME_TIER_2 ; in milliseconds
ViewObjectDuration = 10000
ViewObjectRange = 200
ObjectFilter = CREEP_OBJECTFILTER
End
;------------------------------------------------------------------------------
SpecialPower SpellBookArrowVolleyEvil
Enum = SPECIAL_SPELL_BOOK_ARROW_VOLLEY_EVIL
RadiusCursorRadius = 95
RequiredSciences = SCIENCE_ArrowVolleyEvil
ReloadTime = SPELL_RECHARGE_TIME_TIER_2 ; in milliseconds
InitiateAtLocationSound = SpellArrowVolleyMS
ViewObjectDuration = 10000
ViewObjectRange = 200
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End
;------------------------------------------------------------------------------
SpecialPower SpellBookWildMenAllies
Enum = SPECIAL_SPELL_BOOK_WILD_MEN_ALLIES
ReloadTime = SPELL_RECHARGE_TIME_TIER_2 ; in milliseconds
RadiusCursorRadius = 75.0
RequiredSciences = SCIENCE_WildMenAllies
ViewObjectDuration = 5000
ViewObjectRange = 100
InitiateAtLocationSound = SpellWildMenAlliesMS
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 75.0
End
;------------------------------------------------------------------------------
SpecialPower SpellBookIsengardTaint
Enum = SPECIAL_SPELL_BOOK_TAINT
RadiusCursorRadius = SPELLBOOK_TAINT_RADIUS ; Match the radius in FXList TaintFX
RequiredSciences = SCIENCE_IsengardTaint
ReloadTime = 1 ; ;SPELL_RECHARGE_TIME_TIER_2 ; in milliseconds
InitiateAtLocationSound = SpellTaint
ViewObjectDuration = 5000
ViewObjectRange = 175
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End
;------------------------------------------------------------------------------
SpecialPower SpellBookScavenger
Enum = SPECIAL_SPELL_BOOK_SCAVENGER
RequiredSciences = SCIENCE_Scavenger
ReloadTime = 0 ; in milliseconds
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End
;------------------------------------------------------------------------------
SpecialPower SpellBookCalltheHorde
Enum = SPECIAL_SPELL_BOOK_CALL_THE_HORDE
RequiredSciences = SCIENCE_CalltheHorde
ReloadTime = SPELL_RECHARGE_TIME_TIER_2 ; in milliseconds
InitiateSound = SpellCallTheHordeStereo
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End
;------------------------------------------------------------------------------
SpecialPower SpellBookSpiderlingAllies
Enum = SPECIAL_SPELL_BOOK_SPIDERLING_ALLIES
RequiredSciences = SCIENCE_SpiderlingAllies
ReloadTime = SPELL_RECHARGE_TIME_TIER_2 ; in milliseconds
InitiateAtLocationSound = SpellSummonSpiderlingsMS
RadiusCursorRadius = 65.0
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 100.0
End
;---------------------------- GOOD SPELLS T3 ---------------------------------
;------------------------------------------------------------------------------
SpecialPower SpellBookCloudBreak
Enum = SPECIAL_SPELL_BOOK_CLOUD_BREAK
RequiredSciences = SCIENCE_CloudBreak
ReloadTime = 1; SPELL_RECHARGE_TIME_TIER_3
InitiateSound = SpellCloudBreakStereo
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End
;------------------------------------------------------------------------------
SpecialPower SpellBookRohanAllies
Enum = SPECIAL_SPELL_BOOK_ROHAN_ALLIES
RequiredSciences = SCIENCE_RohanAllies
ReloadTime = SPELL_RECHARGE_TIME_TIER_3 ; in milliseconds
InitiateAtLocationSound = SpellRohirrimSummonMS
RadiusCursorRadius = 110.0 ;150.0
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 110.0
End
;------------------------------------------------------------------------------
SpecialPower SpellBookEntAllies
Enum = SPECIAL_SPELL_BOOK_ENT_ALLIES
RequiredSciences = SCIENCE_EntAllies
ReloadTime = SPELL_RECHARGE_TIME_TIER_3 ; in milliseconds
InitiateAtLocationSound = SpellEntsSummon
RadiusCursorRadius = 100.0
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 100.0
End
;------------------------------------------------------------------------------
SpecialPower SpellBookEagleAllies
Enum = SPECIAL_SPELL_BOOK_EAGLE_ALLIES
Flags = WATER_OK RESPECT_RECHARGE_TIME_DISCOUNT
RequiredSciences = SCIENCE_EagleAllies
ReloadTime = SPELL_RECHARGE_TIME_TIER_3 ; in milliseconds
InitiateAtLocationSound = SpellEagleAlliesSummon ;EagleVoiceSelect
RadiusCursorRadius = 100.0
End
;------------------------------------------------------------------------------
SpecialPower SpellBookDunedainAllies
Enum = SPECIAL_SPELL_BOOK_DUNEDAIN_ALLIES
RequiredSciences = SCIENCE_DunedainAllies
ReloadTime = SPELL_RECHARGE_TIME_TIER_3 ; in milliseconds
InitiateAtLocationSound = SpellSummonDunedainAllies
RadiusCursorRadius = 100.0
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 100.0
End
;//------------------------------------------------------------------------------
SpecialPower SpellBookBombard
Enum = SPECIAL_SPELL_BOOK_BOMBARD
Flags = WATER_OK RESPECT_RECHARGE_TIME_DISCOUNT
RadiusCursorRadius = 200
RequiredSciences = SCIENCE_Bombard
ReloadTime = SPELL_RECHARGE_TIME_TIER_3
InitiateAtLocationSound = SpellBarrageStartMS
End
;------------------------- evil spells T3----------------------------------------
;------------------------------------------------------------------------------
SpecialPower SpellBookMordorCalltheHorde
Enum = SPECIAL_SPELL_BOOK_CALL_THE_HORDE
RequiredSciences = SCIENCE_MordorCalltheHorde
ReloadTime = SPELL_RECHARGE_TIME_TIER_3 ; in milliseconds
InitiateSound = SpellCallTheHordeStereo
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End
;------------------------------------------------------------------------------
SpecialPower SpellBookDarkness
Enum = SPECIAL_SPELL_BOOK_DARKNESS
RequiredSciences = SCIENCE_Darkness
ReloadTime = 1 ; ; SPELL_RECHARGE_TIME_TIER_3 ;600000 in milliseconds
InitiateAtLocationSound = SpellDarkness
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End
;-----------------------------------------------------------------------------
SpecialPower SpellBookAwakenWyrm
Enum = SPECIAL_SPELL_BOOK_AWAKEN_WYRM
Flags = WATER_OK NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ReloadTime = 1 ; ; SPELL_RECHARGE_TIME_TIER_3 ; in milliseconds
RadiusCursorRadius = 30.0
RequiredSciences = SCIENCE_AwakenWyrm
ViewObjectDuration = 5000
ViewObjectRange = 100
InitiateAtLocationSound = WyrmSummonMS
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 30.0
End
;------------------------------------------------------------------------------
SpecialPower SpellBookFreezingRain
Enum = SPECIAL_SPELL_BOOK_FREEZING_RAIN
RequiredSciences = SCIENCE_FreezingRain
ReloadTime = 1 ; ;SPELL_RECHARGE_TIME_TIER_3
InitiateSound = ThunderStrikesStereo
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End
;------------------------------------------------------------------------------
SpecialPower SpellBookFueltheFires
Enum = SPECIAL_SPELL_BOOK_FUEL_THE_FIRES
ReloadTime = 0
RequiredSciences = SCIENCE_FueltheFires
InitiateSound = SpellFuelTheFires
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End
;------------------------------------------------------------------------------
SpecialPower SpellBookWatcherAlly
Enum = SPECIAL_SPELL_BOOK_WATCHER_ALLY
Flags = WATER_OK NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ReloadTime = 1 ; ;SPELL_RECHARGE_TIME_TIER_3
RadiusCursorRadius = 90.0
RequiredSciences = SCIENCE_WatcherAlly
ViewObjectDuration = 5000
ViewObjectRange = 100
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 90.0
End
;------------------------------------------------------------------------------
SpecialPower SpellBookEvilBombard
Enum = SPECIAL_SPELL_BOOK_BOMBARD
Flags = WATER_OK RESPECT_RECHARGE_TIME_DISCOUNT
RadiusCursorRadius = 250 ; ;200
RequiredSciences = SCIENCE_EvilBombard
ReloadTime = SPELL_RECHARGE_TIME_TIER_3
InitiateAtLocationSound = SpellBarrageStartMS ;SpellBarrageStartMSSpellCloudBreakStereo
End
;------------------------------------------------------------------------------
SpecialPower SpellBookEvilEyeofSauron
Enum = SPECIAL_SPELL_BOOK_EYE_OF_SAURON
Flags = WATER_OK RESPECT_RECHARGE_TIME_DISCOUNT
ReloadTime = SPELL_RECHARGE_TIME_TIER_1 ; in milliseconds
RadiusCursorRadius = 75.0
RequiredSciences = SCIENCE_EvilEyeofSauron
InitiateAtLocationSound = EyeOfSauronCreated
End
;----------------------------- GOOD SPELLS T4 --------------------------------------
SpecialPower SpellBookArmyoftheDead
Enum = SPECIAL_SPELL_BOOK_ARMY_OF_THE_DEAD
RequiredSciences = SCIENCE_ArmyoftheDead
ReloadTime = SPELL_RECHARGE_TIME_TIER_4 ; in milliseconds
InitiateAtLocationSound = ArmyDeadEnterMono ;ArmyDeadEnterStereo
RadiusCursorRadius = 200.0
ViewObjectDuration = 5000
ViewObjectRange = 150
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NO_SUMMON_UNDERMINE_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 200.0
End
;------------------------------------------------------------------------------
SpecialPower SpellBookEarthquake
Enum = SPECIAL_SPELL_BOOK_EARTHQUAKE
RadiusCursorRadius = 300
RequiredSciences = SCIENCE_Earthquake
ReloadTime = SPELL_RECHARGE_TIME_TIER_4 ; in milliseconds
InitiateAtLocationSound = SpellEarthquakeMS
ViewObjectDuration = 10000
ViewObjectRange = 200
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End
;------------------------------------------------------------------------------
SpecialPower SpellBookFlood
Enum = SPECIAL_SPELL_BOOK_FLOOD
RadiusCursorRadius = 175
RequiredSciences = SCIENCE_Flood
ReloadTime = SPELL_RECHARGE_TIME_TIER_4 ; in milliseconds
ViewObjectDuration = 10000
ViewObjectRange = 200
InitiateAtLocationSound = SpellFloodMS
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End
;------------------------------------------------------------------------------
SpecialPower SpellBookSunflare
Enum = SPECIAL_SPELL_BOOK_SUNFLARE
Flags = WATER_OK RESPECT_RECHARGE_TIME_DISCOUNT
RadiusCursorRadius = SPELL_SUNFLARE_EFFECT_RADIUS
RequiredSciences = SCIENCE_Sunflare
ReloadTime = SPELL_RECHARGE_TIME_TIER_4 ;// in milliseconds
ViewObjectDuration = SPELL_SUNFLARE_VIEW_OBJECT_DURATION
ViewObjectRange = SPELL_SUNFLARE_VIEW_OBJECT_RANGE
InitiateAtLocationSound = SpellSunflareMS
End
;------------------------------------------------------------------------------
SpecialPower SpellBookCitadel
Enum = SPECIAL_SPELL_BOOK_CITADEL
RadiusCursorRadius = SPAWN_CITADEL_DECAL_RADIUS
RequiredSciences = SCIENCE_Citadel
ReloadTime = SPELL_RECHARGE_TIME_TIER_4 ; in milliseconds
InitiateAtLocationSound = SpellSpawnDwarfCitadel
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NO_SUMMON_CITADEL_NEAR_OBJECT_FILTER
ForbiddenObjectRange = SPAWN_CITADEL_DECAL_RADIUS
End
;------------------------- evil spells T4----------------------------------------
;------------------------------------------------------------------------------
SpecialPower SpellBookBalrogAlly
Enum = SPECIAL_SPELL_BOOK_BALROG_ALLY
ReloadTime = SPELL_RECHARGE_TIME_TIER_4 ; in milliseconds
RadiusCursorRadius = 75.0 ; Match the radius in FXList SummonBalrogStart
RequiredSciences = SCIENCE_BalrogAlly
ViewObjectDuration = 5000
ViewObjectRange = 100
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 75.0
End
;------------------------------------------------------------------------------
SpecialPower SpellBookRainOfFire
Enum = SPECIAL_SPELL_BOOK_RAIN_OF_FIRE
RadiusCursorRadius = 200
RequiredSciences = SCIENCE_RainOfFire
ReloadTime = SPELL_RECHARGE_TIME_TIER_4 ; in milliseconds
InitiateSound = SpellRainOfFireMS
ViewObjectDuration = 10000
ViewObjectRange = 200
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End
;------------------------------------------------------------------------------
SpecialPower SpellBookDragonAlly
Enum = SPECIAL_SPELL_BOOK_DRAGON_ALLY
ReloadTime = SPELL_RECHARGE_TIME_TIER_4 ; in milliseconds
RadiusCursorRadius = 75.0 ; Match the radius in FXList SummonBalrogStart
RequiredSciences = SCIENCE_DragonAlly
ViewObjectDuration = 5000
ViewObjectRange = 100
InitiateAtLocationSound = SpellDragonAllyMS
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 75.0
End
;------------------------------------------------------------------------------
SpecialPower SpellBookDragonStrike
Enum = SPECIAL_SPELL_BOOK_DRAGON_STRIKE
ReloadTime = SPELL_RECHARGE_TIME_TIER_4 ; in milliseconds
RadiusCursorRadius = 180.0 ; Match the radius in StrafeAreaUpdate
RequiredSciences = SCIENCE_DragonStrike
Flags = WATER_OK RESPECT_RECHARGE_TIME_DISCOUNT
ViewObjectDuration = 5000
ViewObjectRange = 100
InitiateAtLocationSound = SpellDragonStrikeMS
End
;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityGimliLeap
Enum = SPECIAL_GIMLI_LEAP
ReloadTime = 1
RadiusCursorRadius = 35.0
Flags = PATHABLE_ONLY
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityGimliAxe
Enum = SPECIAL_AT_VISIBLE_OBJECT
ReloadTime = 1
End
;------------------------------------------------------------------------------
SpecialPower ManTheWallsSpecialPower
Enum = SPECIAL_MAN_THE_WALLS
End
; -----------------------------------------------------------------------------
SpecialPower RangerAmbushSpecialPower
Enum = SPECIAL_RANGER_AMBUSH
RadiusCursorRadius = 50.0
ReloadTime = 1 ;ms
End
; -----------------------------------------------------------------------------
SpecialPower OsgiliathVeteransSpecialPower
Enum = SPECIAL_OSGILIATH_VETERANS
RadiusCursorRadius = 50.0
ReloadTime = 1 ;ms
End
; -----------------------------------------------------------------------------
SpecialPower PrinceOfDolArmothSpecialPower
Enum = SPECIAL_PRINCE_OF_DOL_ARMOTH
RadiusCursorRadius = 50.0
ReloadTime = 1 ;ms
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityLurtzCripple
Enum = SPECIAL_AT_VISIBLE_OBJECT
ReloadTime = 1
;InitiateAtLocationSound = LurtzVoiceAttackCripplingStrike
ObjectFilter = CRIPPLE_STRIKE_OBJECT_FILTER
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityDrogothFireball
Enum = SPECIAL_SARUMAN_FIRE_BALL
ReloadTime = 1
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityWingBlast
Enum = SPECIAL_GENERAL_TARGETLESS
ReloadTime = 1
RadiusCursorRadius = 80.0
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityDrogothFireflight
Enum = SPECIAL_AT_VISIBLE_OBJECT
ReloadTime = 1
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityDrogothIncinerate
Enum = SPECIAL_BALROG_BREATH
ReloadTime = 1
RadiusCursorRadius = DROGOTH_INCINERATE_RADIUS
Flags = WATER_OK
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityWormtongueEscape
Enum = SPECIAL_GENERAL_TARGETLESS_TWO
ReloadTime = 1
PreventActivationConditions = HIDDEN
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityBlackRiderMorgulBlade
Enum = SPECIAL_AT_VISIBLE_OBJECT
ReloadTime = 1
ObjectFilter = MORGULBLADE_OBJECT_FILTER
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilitySplitHorde
Enum = SPECIAL_GENERAL_TARGETLESS
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityGrondCloud
Enum = SPECIAL_GENERAL_TARGETLESS
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityBerserkerLightTorch
Enum = SPECIAL_GENERAL_TARGETLESS
ReloadTime = 0
End
;------------------------------------------------------------------------------
SpecialPower SpecialPowerEat
Enum = SPECIAL_EAT
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityLurtzCarnage
Enum = SPECIAL_HERO_MODE
ReloadTime = 1
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityShelobWebbing
Enum = SPECIAL_AT_VISIBLE_OBJECT
ReloadTime = 1
InitiateSound = LegolasHawkStrikeArrowShoot ;this plays when he fires, not when he targets
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityCaptureBuilding
Enum = SPECIAL_INFANTRY_CAPTURE_BUILDING
ReloadTime = 0 ; in milliseconds
; Voice in "UnitSpecificSound" section to play when user tells unit to use this special power
UnitSpecificSoundToUseAsInitiateIntendToDoVoice = VoiceInitiateCaptureBuilding
; Voice in "UnitSpecificSound" section to play when unit logically starts trying to use this special power
; (when the unit starts moving to the capture flag, not when they actually start capturing the building!)
UnitSpecificSoundToUseAsEnterStateInitiateIntendToDoVoice = VoiceEnterStateInitiateCaptureBuilding
; Eva event to trigger when we successfully capture a building
EvaEventToPlayOnSuccess = BuildingCaptured
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityHeroDisguiseAsUnit
Enum = SPECIAL_DISGUISE_AS_VEHICLE
ReloadTime = 1 ; ms
End
;------------------------------------------------------------------------------
;SpecialPower SpecialAbilityLoveOfTheSea
; Enum = SPECIAL_GENERAL_TARGETLESS
; ReloadTime = 1
;End
;----------------------------------------------------------------------------
SpecialPower SpecialAbilityFireShip
Enum = SPECIAL_GENERAL_TARGETLESS
ReloadTime = 1 ; ms
End
;----------------------------------------------------------------------------
SpecialPower SpecialAbilityPorterExtinguishFire
Enum = SPECIAL_EXTINGUISH_FIRE
ReloadTime = 1 ; in milliseconds
RadiusCursorRadius = PORTER_FIRE_EXTINGUISHER_DECREASEBURNRATE_RADIUS
UnitSpecificSoundToUseAsInitiateIntendToDoVoice = VoiceExtinguishFireAtLocation
;InitiateAtLocationSound = MenBuilderFireExtinguish ;didn't work
;InitiateSound = MenBuilderFireExtinguish ;didn't work
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityZephyrStrike
Enum = SPECIAL_GENERAL_TARGETLESS
ReloadTime = 1
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityMenLongShot
Enum = SPECIAL_SPELL_BOOK_ARROW_VOLLEY_GOOD
RadiusCursorRadius = GONDOR_RANGER_LONGSHOT_CURSOR_RADIUS
ReloadTime = GONDOR_RANGER_LONGSHOT_RELOAD_TIME
;InitiateAtLocationSound = IthilienRangerLongShotMS ;this didn't work
;InitiateSound = IthilienRangerLongShotMS ;this plays at the horde's position, not at the target
End
;------------------------------------------------------------------------------
SpecialPower FiresOfDoomSpecialPower
Enum = SPECIAL_SPELL_BOOK_RAIN_OF_FIRE
RadiusCursorRadius = 200
ReloadTime = 1 ; in milliseconds
ViewObjectDuration = 10000
ViewObjectRange = 200
InitiateSound = SpellRainOfFireMS
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityWildmanPillage
Enum = SPECIAL_GENERAL_TARGETLESS
ReloadTime = 1 ; in milliseconds
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityWildMountainGiantGrab
Enum = SPECIAL_AT_VISIBLE_OBJECT
ReloadTime = 1
ObjectFilter = ANY -BIG_MONSTER -MordorSauron -MordorSauron_RingHero -ElvenGaladriel -ElvenGaladriel_RingHero +INFANTRY +HERO
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityWildMountainGiantFlingPassenger
Enum = SPECIAL_GENERAL_TARGETLESS
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityWildMountainGiantStomp
Enum = SPECIAL_WORD_OF_POWER
ReloadTime = 1
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityFireDrakeInferno
Enum = SPECIAL_BALROG_BREATH
ReloadTime = 1
RadiusCursorRadius = 80.0
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityTrollDropTree
Enum = SPECIAL_GENERAL_TARGETLESS
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityBatCloud
Enum = SPECIAL_SPELL_BOOK_CAVE_BATS
ReloadTime = 1 ;// in milliseconds
;InitiateAtLocationSound = SpellSummonCrebain
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityMurderOfCrows
Enum = SPECIAL_SPELL_BOOK_CAVE_BATS
ReloadTime = 1 ;// in milliseconds
InitiateAtLocationSound = SpellSummonCrebain
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityAragornAthelas
Enum = SPECIAL_ATHELAS
ReloadTime = 1
RadiusCursorRadius = 150.0
InitiateAtLocationSound = AragornAthelesEffect
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityAragornElendil
Enum = SPECIAL_GENERAL_TARGETLESS
ReloadTime = 1
InitiateSound = AragornElendilEffect ;GenericSpell
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityEowynShieldMaiden
Enum = SPECIAL_ATTRIBUTEMOD_CANCELDISGUISE
ReloadTime = 1 ; in milliseconds
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityWizardBlast
Enum = SPECIAL_WIZARD_BLAST
ReloadTime = 1
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityWordOfPower
Enum = SPECIAL_WORD_OF_POWER
ReloadTime = 1
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityKingsFavor
Enum = SPECIAL_KINGS_FAVOR
ReloadTime = 1 ; in milliseconds
RadiusCursorRadius = 100.0
Flags = NEEDS_OBJECT_FILTER
ObjectFilter = KINGSFAVOR_OBJECTFILTER
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilitySarumanFireball
Enum = SPECIAL_SARUMAN_FIRE_BALL
ReloadTime = SARUMAN_FIREBALL_RELOAD_TIME
;InitiateAtLocationSound = SarumanFireball
End
; ;------------------------------------------------------------------------------
SpecialPower SpecialAbilityMouthOfSauronEvilEye
Enum = SPECIAL_SARUMAN_FIRE_BALL
ReloadTime = 1
;InitiateAtLocationSound = SarumanFireball
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityDwarvenBattleWagonOilBarrels
Enum = SPECIAL_GENERAL_TARGETLESS
ReloadTime = 1
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityDwarvenIronHillsCatapultOilBarrels
Enum = SPECIAL_GENERAL_TARGETLESS
ReloadTime = 1
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityDwarvenDemolisherDeploy
Enum = SPECIAL_GENERAL_TARGETLESS
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityDominateEnemy
Enum = SPECIAL_DOMINATE_ENEMY
;***************************** IMPORTANT ***********************************************
ReloadTime = 1 ; This value MUST be greater than the DefectDuration in the Behavior
; TemporarilyDefectUpdate ModuleTag_TemporarilyDefectUpdate section
; of the object.ini file. See the comments in that section!
;***************************** IMPORTANT ***********************************************
RadiusCursorRadius = 60.0 ;100.0 ;150.0
;InitiateAtLocationSound = SarumanWormtongue
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityWormtongueCorrodeAllegiance
Enum = SPECIAL_AT_VISIBLE_OBJECT
ObjectFilter = NONE +HERO
;***************************** IMPORTANT ***********************************************
ReloadTime = 1 ; This value MUST be greater than the DefectDuration in the Behavior
; TemporarilyDefectUpdate ModuleTag_TemporarilyDefectUpdate section
; of the object.ini file. See the comments in that section!
;***************************** IMPORTANT ***********************************************
RadiusCursorRadius = 60.0
PreventActivationConditions = HIDDEN
;InitiateSound = WormtongueVoiceCorrodeAllegiance ;this plays too late, not when cast
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityConvertEnemy
Enum = SPECIAL_DOMINATE_ENEMY
;***************************** IMPORTANT ***********************************************
ReloadTime = 1 ; This value MUST be greater than the DefectDuration in the Behavior
; TemporarilyDefectUpdate ModuleTag_TemporarilyDefectUpdate section
; of the object.ini file. See the comments in that section!
;***************************** IMPORTANT ***********************************************
RadiusCursorRadius = 60.0 ;100.0 ;150.0
;InitiateAtLocationSound = SarumanWormtongue
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityTameTheBeast
Enum = SPECIAL_DOMINATE_ENEMY
ReloadTime = 1 ; This value MUST be greater than the DefectDuration in the Behavior
RadiusCursorRadius = 60.0 ;100.0 ;150.0
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityCurseEnemy
Enum = SPECIAL_CURSE_ENEMY
ReloadTime = 1
RadiusCursorRadius = 50.0
;UnitSpecificSoundToUseAsEnterStateInitiateIntendToDoVoice = VoiceSpecialAbilityCurseEnemy ;plays but on targetting
;UnitSpecificSoundToUseAsInitiateIntendToDoVoice = VoiceSpecialAbilityCurseEnemy ;no worky
;InitiateAtLocationSound = WitchKingHourOfTheWitchKing ;no worky
;InitiateSound = WitchKingHourOfTheWitchKing ;no worky
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityEvacuateGarrison
Enum = SPECIAL_EVACUATE_GARRISON
ReloadTime = 1
ObjectFilter = ANY +RuinedTower
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityAragornBladeMaster
Enum = SPECIAL_HERO_MODE
ReloadTime = 1
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityGlorfindelBladeOfPurity
Enum = SPECIAL_GENERAL_TARGETLESS
ReloadTime = 1
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityGlorfindelWindRider
Enum = SPECIAL_GENERAL_TARGETLESS_TWO
ReloadTime = 1
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityGlorfindelStarlight
Enum = SPECIAL_GENERAL_TARGETLESS_THREE
ReloadTime = 1
InitiateAtLocationSound = GlorfindelStarlight
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityIstariLight
Enum = SPECIAL_WOUND_ARROW
ReloadTime = 1 ; in milliseconds
RadiusCursorRadius = 120.0
ObjectFilter = ALL -BASE_FOUNDATION -INERT -IGNORED_IN_GUI -WALK_ON_TOP_OF_WALL -BLOCKING_GATE -WALL_UPGRADE -UNATTACKABLE -MOVE_ONLY
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityLightingBolt
Enum = SPECIAL_ARROW_STORM
ReloadTime = 1 ; in milliseconds
RadiusCursorRadius = SARUMAN_LIGHTNING_RADIUS
ObjectFilter = ALL -BASE_FOUNDATION -INERT -IGNORED_IN_GUI -WALK_ON_TOP_OF_WALL -BLOCKING_GATE -WALL_UPGRADE -UNATTACKABLE -MOVE_ONLY
End
; -----------------------------------------------------------------------------
SpecialPower SuperweaponSpawnOathbreakers
Enum = SPECIAL_SPAWN_OATHBREAKERS
ReloadTime = 1 ; in milliseconds
RadiusCursorRadius = 60.0
Flags = LIMIT_DISTANCE NO_FORBIDDEN_OBJECTS
MaxCastRange = 200
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 60.0
InitiateAtLocationSound = AragornVoiceSummonOathbreakersMS
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityPoisonArrows
Enum = SPECIAL_WOUND_ARROW
ReloadTime = 1
InitiateSound = PoisonArrows
UnitSpecificSoundToUseAsInitiateIntendToDoVoice = VoiceInitiatePoisonArrowAttack
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityBlackArrows
Enum = SPECIAL_WOUND_ARROW
ReloadTime = 1
InitiateSound = MenOfDaleBlackArrows
UnitSpecificSoundToUseAsInitiateIntendToDoVoice = VoiceInitiateBlackArrowsAttack
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityHaldirGoldenArrow
Enum = SPECIAL_WOUND_ARROW
ReloadTime = 1
InitiateSound = HaldirGoldenArrowShoot
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityArcherBombard
Enum = SPECIAL_GENERAL_TARGETLESS
ReloadTime = 0
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityWormtongueVenomousWords
Enum = SPECIAL_GENERAL_TARGETLESS
ReloadTime = 1
InitiateSound = WormtongueVenomousWords
RadiusCursorRadius = 100.0
PreventActivationConditions = HIDDEN
End
; -----------------------------------------------------------------------------
SpecialPower SpecialAbilityWormtongueBackstab
Enum = SPECIAL_AT_VISIBLE_OBJECT
ReloadTime = 1
PreventActivationConditions = HIDDEN
End
; -----------------------------------------------------------------------------
SpecialPower SpecialAbilityDominateTroll
Enum = SPECIAL_AT_VISIBLE_GROUNDED_OBJECT
ReloadTime = 1
ObjectFilter = ATTACK_TROLL_DOMINATE_OBJECT_FILTER
InitiateSound = SarumanWormtongue
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityAttachSpy
Enum = SPECIAL_WOUND_ARROW
ReloadTime = 1
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityGoblinFighterPoisonedBlades
Enum = SPECIAL_GENERAL_TARGETLESS
ReloadTime = 1
InitiateSound = PoisonBlades
End
;------------------------------------------------------------------------------
#include "CreateAHeroSpecialPowers.ini"
J'espère vous avoir aidé
A la prochaine.
******************************************************************************************************************
Si vous avez des questions supplémentaires à poser à propos de ce tutoriel, veuillez les poser dans la section "Discussion" qui se trouve >ICI<
******************************************************************************************************************