26. Apr 2024, 07:33 Hallo Gast.
Willkommen Gast. Bitte einloggen oder registrieren. Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge. Hierbei werden gemäß Datenschutzerklärung Benutzername und Passwort verschlüsselt für die gewählte Dauer in einem Cookie abgelegt.


Select Boards:
 
Language:
 


Autor Thema: Spellbook Problem  (Gelesen 3624 mal)

elladan05

  • Heiler von Imladris
  • **
  • Beiträge: 223
Spellbook Problem
« am: 3. Jun 2009, 17:26 »
Hi,
Ich habe ein Problem mit den Spellbooks und zwar:

Habe ich drei neue spells hinzugefügt und es ist auch alles so wie es sein soll bis ich sie kaufen möchte,denn wenn ich sie ausgewählt habe sinken meine Fähigkeiten-Punkte aber ich kann die fähigkeit an der Seiten-Leiste nicht endecken.Darum dachte ich mir dass ich vielleicht ein Update oder so vergessen habe.

Danke schonmal für eure Hilfe
<br />SotE sucht immer noch Modder wenn ihr interesse habt bitte melden!<br /><br />Danke für das Banner Wocha ;)<br />

Sanalf 2

  • Gast
Re: Spellbook Problem
« Antwort #1 am: 4. Jun 2009, 14:30 »
hast du die spells auch in der commandset.ini bei "spellbookcommandset" UND "spellstorecommandset" eingefügt? sonst geht da nix.

elladan05

  • Heiler von Imladris
  • **
  • Beiträge: 223
Re: Spellbook Problem
« Antwort #2 am: 4. Jun 2009, 15:07 »
Ja habe ich ich kann den Spell ja auch kaufen aber er erscheint halt in der Seiten-leiste nicht
<br />SotE sucht immer noch Modder wenn ihr interesse habt bitte melden!<br /><br />Danke für das Banner Wocha ;)<br />

Alien aka Infiltrator

  • Held von Helms Klamm
  • ***
  • Beiträge: 1.236
  • Edain was good ;-)
Re: Spellbook Problem
« Antwort #3 am: 4. Jun 2009, 19:13 »
Post am besten mal deine Codes

Hört sich aber an als wär iwas mim upgrade oder dem zweiten button, mehr kann man so eigtl nicht sagen...

elladan05

  • Heiler von Imladris
  • **
  • Beiträge: 223
Re: Spellbook Problem
« Antwort #4 am: 4. Jun 2009, 21:19 »
Hier der Behavior in der System.ini :

Behavior = OCLSpecialPower ModuleTag_SpawnMinas-Morgul
SpecialPowerTemplate = SpellBookSpawnLoneTower
OCL                  = OCL_Minas-Morgul
CreateLocation       = CREATE_AT_LOCATION
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
//UseDistanceFromCommandCenter = Yes
//DistanceFromCommandCenter = LONE_TOWER_EFFECTIVE_RADIUS
End

Hier die Commandbuttons:

CommandButton Command_SpellBookMinas-Morgul
Command = SPELL_BOOK
    SpecialPower = SpellBookSpawnLoneTower
Options         = NEED_TARGET_POS
TextLabel       = CONTROLBAR:Morgul
    ButtonImage = Button_HKBeam
ButtonBorderType  = ACTION
DescriptLabel     = CONTROLBAR:MorgulDE
    RadiusCursorType  = LoneTowerRadiusCursor
    CursorName        = AttackObj
    InvalidCursorName = GenericInvalid
End

CommandButton Command_PurchaseMinas-Morgul
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
    ButtonImage = Button_HKBeam
    Science = SCIENCE_Morgul
    TextLabel = CONTROLBAR:Morgul
DescriptLabel = CONTROLBAR:MorgulDE
End

Und der sience.ini Eintrag :

Science SCIENCE_Morgul
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_WarChant OR SCIENCE_EVIL SCIENCE_WildMenAllies OR SCIENCE_MORDOR SCIENCE_Industry OR SCIENCE_MORDOR SCIENCE_UntamedAllegiance OR SCIENCE_WILD SCIENCE_UntamedAllegiance OR SCIENCE_WILD SCIENCE_Scavenger
  SciencePurchasePointCost = EVIL_RANK_2_COST
  SciencePurchasePointCostMP = 15
  IsGrantable = Yes
End


und der Commandset:

CommandSet MordorSpellBookCommandSet
1 = Command_SpellBookTaint
2 = Command_SpellBookEyeofSauron
3 = Command_SpellBookWarChant

4 = Command_SpellBookCallTheHordes
5 = Command_SpellBookBarricade
6 = Command_SpellBookUntamedAllegiance
7 = Command_SpellBookWildMenAllies

8 = Command_SpellBookEvilBombard
9 = Command_SpellBookDarkness
10 = Command_SpellBookMinas-Morgul

11 = Command_SpellBookKankra
12 = Command_SpellBookRainOfFire
End

CommandSet MordorSpellStoreCommandSet
1 = Command_PurchaseSpellTaint
2 = Command_PurchaseSpellEyeofSauron
3 = Command_PurchaseSpellWarChant

4 = Command_PurchasecallTheHordes
5 = Command_PurchaseSpellUntamedAllegiance
6 = Command_PurchaseSpellIndustry
7 = Command_PurchaseSpellWildMenAllies

8 = Command_PurchaseMinas-Morgul
9 = Command_PurchaseSpellDarkness
10 = Command_PurchaseSpellEvilBombard

11 = Command_PurchaseKankra
12 = Command_PurchaseSpellRainOfFire
End
<br />SotE sucht immer noch Modder wenn ihr interesse habt bitte melden!<br /><br />Danke für das Banner Wocha ;)<br />

Tipppfehler

  • Gastwirt zu Bree
  • **
  • Beiträge: 133
Re: Spellbook Problem
« Antwort #5 am: 5. Jun 2009, 11:56 »
   10 = Command_SpellBookMinas-Morgul

   8 = Command_PurchaseMinas-Morgul

Ich glaub kaum das das so sein darf oder?!

MFG
Tipppfehler

Sanalf 2

  • Gast
Re: Spellbook Problem
« Antwort #6 am: 5. Jun 2009, 14:06 »
doch, das darf offensichtlich schon sein. schau dir mal die beiden nr. 6er an!

versuchs doch mal. den namen minas-morgul ohne bindestrich zu schreiben. ich hab das so überhaupt noch nirgendwo in den inis gesehen, also mit bindestrich geschrieben.

oder vielleicht liegst daran, dass du den spawnlonetower spell verwendest, der ja schon von EA da war. kopier einfach dessen dateien in der specialpower.ini und benenn das dann um. vielleicht bringts ja was. sonst schauts eigentlich recht okay aus...

elladan05

  • Heiler von Imladris
  • **
  • Beiträge: 223
Re: Spellbook Problem
« Antwort #7 am: 5. Jun 2009, 14:47 »
Das Komische  ist ja dass ich drei solcher Fähigkeiten habe und bei allen das selbe
<br />SotE sucht immer noch Modder wenn ihr interesse habt bitte melden!<br /><br />Danke für das Banner Wocha ;)<br />

LastElb

  • Bibliothekar Bruchtals
  • **
  • Beiträge: 271
Re: Spellbook Problem
« Antwort #8 am: 25. Jul 2009, 09:20 »
Ich hab irgendwie genau das gleiche Problem. Werde später noch die Codes reinschreiben.

xXx Metzelmeister

  • Gefährte der Gemeinschaft
  • **
  • Beiträge: 427
  • King of War
Re:Spellbook Problem
« Antwort #9 am: 15. Jan 2012, 18:48 »
ja hallo
ich habe bei meinem spellbook im moment auch das oben gegannte problem und wollte fragen wie das hier nun gelöst wurde, wenn es überhaupt gelöst wurde

mfg xXx

MCM aka k10071995

  • Bezwinger der Toten
  • ****
  • Beiträge: 3.846
Re:Spellbook Problem
« Antwort #10 am: 15. Jan 2012, 18:50 »
Ich würde spontan darauf tippen, dass der "PreresquiteScience" Eintrag in dem Wirkungsbutton fehlt.^^
Ansonsten gilt wie bei jedem Coding-Problem: Codes posten.

Es kommt immer darauf an, etwas zu tun, was der Gegner nicht erwartet.


xXx Metzelmeister

  • Gefährte der Gemeinschaft
  • **
  • Beiträge: 427
  • King of War
Re:Spellbook Problem
« Antwort #11 am: 15. Jan 2012, 19:53 »
Ja also zur erklärung muss ich noch sagen das es ein Spellbook für eine map werden soll also kommt das alles in eine map.ini (ich glaube das das nicht viel ändert imm Vergleich zu einer mod).
und mein problem liegt darin das wenn ich Spells gekauft habe, werden sie nicht an der linken seite des bildschirms angezeigt, also bis zum Kauf scheint alles noch gut zu laufen  ;)
das ist das bisherige Ergebniss:
;-----------------------------------------------------------------
; Specialpowers
;-----------------------------------------------------------------


Object GoodSpellBookNew

    AddModule
   Behavior = PlayerHealSpecialPower ModuleTag_Heal
SpecialPowerTemplate  = SpellBookHeal
HealAffects  = INFANTRY CAVALRY SHIP DOZER ; RotWK originally had these as well MONSTER MACHINE
HealAmount  = 0.6 ;1.0 ; 0.5 = 50% of maximum health
HealRadius  = SPELL_HEAL_RADIUS_UNIT_SCAN
HealFX  = FX_SpellHealUnitHealBuff ;FX_DefaultUnitHealBuff
; To replenish hordes a bit
HealOCL               = OCL_HealSpellHordeReplenishPing
AvailableAtStart  = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End
End

AddModule
Behavior = OCLSpecialPower ModuleTag_TomBombadil
SpecialPowerTemplate = SpellBookTomBombadil
OCL                  = OCL_SpawnTomBombadilEgg
CreateLocation       = CREATE_AT_LOCATION
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End
End

AddModule
Behavior = OCLSpecialPower ModuleTag_ArrowVolleyGood
SpecialPowerTemplate = SpellBookArrowVolleyGood
OCL                  = OCL_SpellBookArrowVolley
CreateLocation       = USE_SECONDARY_OBJECT_LOCATION
NearestSecondaryObjectFilter = NONE SAME_PLAYER +CASTLE_KEEP
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End
End

AddModule
Behavior           = ElvenWoodSpecialPower ModuleTag_ElvenWood
SpecialPowerTemplate = SpellBookElvenWood
ElvenGroveObject = ElvenGrove
ElvenWoodRadius = SPELLBOOK_TAINT_RADIUS
ElvenWoodFX = FX_ElvenWoodSpellFX
ElvenWoodOCL = OCL_ElvenWoodSeed
; CreateLocation = CREATE_AT_LOCATION
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End
End

AddModule
Behavior = CloudBreakSpecialPower ModuleTag_CloudBreak
SpecialPowerTemplate = SpellBookCloudBreak
     SunbeamObject = CloudBreakSunbeam
ObjectSpacing = 300
AttributeModifierAffects = ANY +INFANTRY +CAVALRY +MONSTER -HERO ENEMIES
ReEnableAntiCategory = Yes ; cancel negative effects on good guys
AttributeModifierWeatherBased = Yes
WeatherDuration = SPELL_CLOUDBREAK_DURATION
ChangeWeather = SUNNY
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End
End

AddModule
Behavior = OCLSpecialPower ModuleTag_SummonEnts
SpecialPowerTemplate = SpellBookEntAllies
OCL                  = OCL_SpawnEnts
        TriggerFX = FX_SummonEntAllies
CreateLocation       = CREATE_AT_LOCATION
UpgradeName = Upgrade_EntAllies
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End
End


AddModule
  Behavior   = TaintSpecialPower ModuleTag_Taint
SpecialPowerTemplate = SpellBookTaint
TaintObject = TaintLand
TaintRadius = SPELLBOOK_TAINT_RADIUS
TaintFX = FX_TaintSpellFX
TaintOCL = OCL_TaintSeed
; CreateLocation = CREATE_AT_LOCATION
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End
End

AddModule
  Behavior   = OCLSpecialPower ModuleTag_ChillWind
SpecialPowerTemplate = SpellBookChillWind
OCL = OCL_SpellBookChillWind
CreateLocation = CREATE_AT_LOCATION
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End
End

AddModule
Behavior = OCLSpecialPower ModuleTag_SummonWildMen
SpecialPowerTemplate = SpellBookWildMenAllies
OCL                  = OCL_SpellBookWildMenAllies
TriggerFX = FX_SummonWildmen
CreateLocation       = CREATE_AT_LOCATION
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End
End

AddModule
Behavior = OCLSpecialPower ModuleTag_SummonGiants
SpecialPowerTemplate = SpellBookSummonGiants
OCL                   = OCL_SpellBookSummonGiants
TriggerFX = FX_SummonWildmen
CreateLocation       = CREATE_AT_LOCATION
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End
End

AddModule
Behavior = OCLSpecialPower ModuleTag_SummonWatcher
SpecialPowerTemplate = SpellBookWatcherAlly
OCL                  = OCL_WatcherSummoning
CreateLocation       = CREATE_AT_LOCATION
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End
End

AddModule
Behavior = OCLSpecialPower ModuleTag_SummonWights
SpecialPowerTemplate = SpellBookSummonWights
OCL                   = OCL_SpellBookSummonBarrowWights
TriggerFX = FX_SummonWights ;FX_SummonWildmen
CreateLocation       = CREATE_AT_LOCATION
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End
End
End

;-----------------------------------------------------------------
; SPELLBOOKS
;-----------------------------------------------------------------


PlayerTemplate FactionElves
SpellBook = GoodSpellBookNew
SpellBookMp = ElvesSpellBookNew
PurchaseScienceCommandSet = GoodSpellStoreCommandSetNew
PurchaseScienceCommandSetMP = ElvesSpellStoreCommandSetNew
End


PlayerTemplate FactionMen
SpellBook = GoodSpellBookNew
SpellBookMp = ElvesSpellBookNew
PurchaseScienceCommandSet = GoodSpellStoreCommandSetNew
PurchaseScienceCommandSetMP = ElvesSpellStoreCommandSetNew
End

PlayerTemplate FactionDwarves
SpellBook = GoodSpellBookNew
SpellBookMp = ElvesSpellBookNew
PurchaseScienceCommandSet = GoodSpellStoreCommandSetNew
PurchaseScienceCommandSetMP = ElvesSpellStoreCommandSetNew
End

PlayerTemplate FactionIsengard
SpellBook = GoodSpellBookNew
SpellBookMp = ElvesSpellBookNew
PurchaseScienceCommandSet = GoodSpellStoreCommandSetNew
PurchaseScienceCommandSetMP = ElvesSpellStoreCommandSetNew
End

PlayerTemplate FactionMordor
SpellBook = GoodSpellBookNew
SpellBookMp = ElvesSpellBookNew
PurchaseScienceCommandSet = GoodSpellStoreCommandSetNew
PurchaseScienceCommandSetMP = ElvesSpellStoreCommandSetNew
End

PlayerTemplate FactionWild
SpellBook = GoodSpellBookNew
SpellBookMp = ElvesSpellBookNew
PurchaseScienceCommandSet = GoodSpellStoreCommandSetNew
PurchaseScienceCommandSetMP = ElvesSpellStoreCommandSetNew
End

PlayerTemplate FactionAngmar
SpellBook = GoodSpellBookNew
SpellBookMp = ElvesSpellBookNew
PurchaseScienceCommandSet = GoodSpellStoreCommandSetNew
PurchaseScienceCommandSetMP = ElvesSpellStoreCommandSetNew
End



;-----------------------------------------------------------------
; Spellbook SCIENCES
;-----------------------------------------------------------------



Science SCIENCE_ElvenWood
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN OR SCIENCE_ELVES OR SCIENCE_DWARVES OR SCIENCE_EVIL OR SCIENCE_ISENGARD OR SCIENCE_WILD OR SCIENCE_MORDOR OR SCIENCE_ANGMAR
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 20
  IsGrantable = Yes
End

Science SCIENCE_Taint
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN OR SCIENCE_ELVES OR SCIENCE_DWARVES OR SCIENCE_EVIL OR SCIENCE_ISENGARD OR SCIENCE_WILD OR SCIENCE_MORDOR OR SCIENCE_ANGMAR
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 20
  IsGrantable = Yes
End

Science SCIENCE_ChillWind
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN OR SCIENCE_ELVES OR SCIENCE_DWARVES OR SCIENCE_EVIL OR SCIENCE_ISENGARD OR SCIENCE_WILD OR SCIENCE_MORDOR OR SCIENCE_ANGMAR
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 30
  IsGrantable = Yes
End


;------------------------------------------------------------------------------------------------------------------------------------


Science SCIENCE_Heal
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN SCIENCE_ElvenWood OR SCIENCE_ELVES SCIENCE_ElvenWood OR SCIENCE_DWARVES SCIENCE_ElvenWood OR SCIENCE_EVIL OR SCIENCE_ISENGARD SCIENCE_ElvenWood OR SCIENCE_MORDOR SCIENCE_ElvenWood OR SCIENCE_WILD SCIENCE_ElvenWood OR SCIENCE_ANGMAR SCIENCE_ElvenWood
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 30
  IsGrantable = Yes
End

Science SCIENCE_ArrowVolleyGood
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN SCIENCE_ElvenWood OR SCIENCE_MEN SCIENCE_ChillWind OR SCIENCE_ELVES SCIENCE_ElvenWood OR SCIENCE_ELVES SCIENCE_ChillWind OR SCIENCE_DWARVES SCIENCE_ElvenWood OR SCIENCE_DWARVES SCIENCE_ChillWind OR SCIENCE_EVIL OR SCIENCE_ISENGARD SCIENCE_ElvenWood OR SCIENCE_ISENGARD SCIENCE_ChillWind OR SCIENCE_MORDOR SCIENCE_ElvenWood OR SCIENCE_MORDOR SCIENCE_ChillWind OR SCIENCE_WILD SCIENCE_ElvenWood OR SCIENCE_WILD SCIENCE_ChillWind OR SCIENCE_ANGMAR SCIENCE_ElvenWood OR SCIENCE_ANGMAR SCIENCE_ChillWind
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 20
  IsGrantable = Yes
End

Science SCIENCE_WildMenAllies
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN SCIENCE_Taint OR SCIENCE_MEN SCIENCE_ChillWind OR SCIENCE_ELVES SCIENCE_Taint OR SCIENCE_ELVES SCIENCE_ChillWind OR SCIENCE_DWARVES SCIENCE_Taint OR SCIENCE_DWARVES SCIENCE_ChillWind OR SCIENCE_EVIL OR SCIENCE_ISENGARD SCIENCE_Taint OR SCIENCE_ISENGARD SCIENCE_ChillWind OR SCIENCE_MORDOR SCIENCE_Taint OR SCIENCE_MORDOR SCIENCE_ChillWind OR SCIENCE_WILD SCIENCE_Taint OR SCIENCE_WILD SCIENCE_ChillWind OR SCIENCE_ANGMAR SCIENCE_Taint OR SCIENCE_ANGMAR SCIENCE_ChillWind
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 20
  IsGrantable = Yes
End

Science SCIENCE_SummonWights
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN SCIENCE_Taint OR SCIENCE_ELVES SCIENCE_Taint OR SCIENCE_DWARVES SCIENCE_Taint OR SCIENCE_EVIL OR SCIENCE_ISENGARD SCIENCE_Taint OR SCIENCE_MORDOR SCIENCE_Taint OR SCIENCE_WILD SCIENCE_Taint OR SCIENCE_ANGMAR SCIENCE_Taint
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 30
  IsGrantable = Yes
End


;------------------------------------------------------------------------------------------------------------------------------------



Science SCIENCE_CloudBreak
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN SCIENCE_Heal OR SCIENCE_MEN SCIENCE_ArrowVolleyGood OR SCIENCE_ELVES SCIENCE_Heal OR SCIENCE_ELVES SCIENCE_ArrowVolleyGood OR SCIENCE_DWARVES SCIENCE_Heal OR SCIENCE_DWARVES SCIENCE_ArrowVolleyGood OR SCIENCE_EVIL OR SCIENCE_ISENGARD SCIENCE_Heal OR SCIENCE_ISENGARD SCIENCE_ArrowVolleyGood OR SCIENCE_MORDOR SCIENCE_Heal OR SCIENCE_MORDOR SCIENCE_ArrowVolleyGood OR SCIENCE_WILD SCIENCE_Heal OR SCIENCE_WILD SCIENCE_ArrowVolleyGood OR SCIENCE_ANGMAR SCIENCE_Heal OR SCIENCE_ANGMAR SCIENCE_ArrowVolleyGood
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 40
  IsGrantable = Yes
End

Science SCIENCE_TomBombadil
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN SCIENCE_WildMenAllies OR SCIENCE_MEN SCIENCE_ArrowVolleyGood OR SCIENCE_ELVES SCIENCE_WildMenAllies OR SCIENCE_ELVES SCIENCE_ArrowVolleyGood OR SCIENCE_DWARVES SCIENCE_WildMenAllies OR SCIENCE_DWARVES SCIENCE_ArrowVolleyGood OR SCIENCE_EVIL OR SCIENCE_ISENGARD SCIENCE_WildMenAllies OR SCIENCE_ISENGARD SCIENCE_ArrowVolleyGood OR SCIENCE_MORDOR SCIENCE_WildMenAllies OR SCIENCE_MORDOR SCIENCE_ArrowVolleyGood OR SCIENCE_WILD SCIENCE_WildMenAllies OR SCIENCE_WILD SCIENCE_ArrowVolleyGood OR SCIENCE_ANGMAR SCIENCE_WildMenAllies OR SCIENCE_ANGMAR SCIENCE_ArrowVolleyGood
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 50
  IsGrantable = Yes
End

Science SCIENCE_WatcherAlly
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN SCIENCE_WildMenAllies OR SCIENCE_MEN SCIENCE_SummonWights OR SCIENCE_ELVES SCIENCE_WildMenAllies OR SCIENCE_ELVES SCIENCE_SummonWights OR SCIENCE_DWARVES SCIENCE_WildMenAllies OR SCIENCE_DWARVES SCIENCE_SummonWights OR SCIENCE_EVIL OR SCIENCE_ISENGARD SCIENCE_WildMenAllies OR SCIENCE_ISENGARD SCIENCE_SummonWights OR SCIENCE_MORDOR SCIENCE_WildMenAllies OR SCIENCE_MORDOR SCIENCE_SummonWights OR SCIENCE_WILD SCIENCE_WildMenAllies OR SCIENCE_WILD SCIENCE_SummonWights OR SCIENCE_ANGMAR SCIENCE_WildMenAllies OR SCIENCE_ANGMAR SCIENCE_SummonWights
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 40
  IsGrantable = Yes
End


;------------------------------------------------------------------------------------------------------------------------------------



Science SCIENCE_EntAllies
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN SCIENCE_CloudBreak OR SCIENCE_MEN SCIENCE_TomBombadil OR SCIENCE_ELVES SCIENCE_CloudBreak OR SCIENCE_ELVES SCIENCE_TomBombadil OR SCIENCE_DWARVES SCIENCE_CloudBreak OR SCIENCE_DWARVES SCIENCE_TomBombadil OR SCIENCE_EVIL OR SCIENCE_ISENGARD SCIENCE_CloudBreak OR SCIENCE_ISENGARD SCIENCE_TomBombadil OR SCIENCE_MORDOR SCIENCE_CloudBreak OR SCIENCE_MORDOR SCIENCE_TomBombadil OR SCIENCE_WILD SCIENCE_CloudBreak OR SCIENCE_WILD SCIENCE_TomBombadil OR SCIENCE_ANGMAR SCIENCE_CloudBreak OR SCIENCE_ANGMAR SCIENCE_TomBombadil
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 50
  IsGrantable = Yes
End

Science SCIENCE_SummonGiants
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN SCIENCE_WatcherAlly OR SCIENCE_MEN SCIENCE_TomBombadil OR SCIENCE_ELVES SCIENCE_WatcherAlly OR SCIENCE_ELVES SCIENCE_TomBombadil OR SCIENCE_DWARVES SCIENCE_WatcherAlly OR SCIENCE_DWARVES SCIENCE_TomBombadil OR SCIENCE_EVIL OR SCIENCE_ISENGARD SCIENCE_WatcherAlly OR SCIENCE_ISENGARD SCIENCE_TomBombadil OR SCIENCE_MORDOR SCIENCE_WatcherAlly OR SCIENCE_MORDOR SCIENCE_TomBombadil OR SCIENCE_WILD SCIENCE_WatcherAlly OR SCIENCE_WILD SCIENCE_TomBombadil OR SCIENCE_ANGMAR SCIENCE_WatcherAlly OR SCIENCE_ANGMAR SCIENCE_TomBombadil
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 50
  IsGrantable = Yes
End




;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;Commandbutton.ini;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;; EVIL SPELLS ;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

CommandButton Command_SpellBookChillWind
Command = SPELL_BOOK
    SpecialPower = SpellBookChillWind
Options         = NEED_TARGET_POS
TextLabel       = CONTROLBAR:ChillWind
    ButtonImage = KUChillWindIcon
ButtonBorderType   = ACTION
DescriptLabel     = CONTROLBAR:TooltipChillWind
    RadiusCursorType   = ChillWindRadiusCursor
    CursorName         = AttackObj
    InvalidCursorName = GenericInvalid
End

CommandButton Command_SpellBookTaint
Command = SPELL_BOOK
    SpecialPower = SpellBookTaint
Options         = NEED_TARGET_POS
TextLabel       = CONTROLBAR:Taint
    ButtonImage = SBEvil_Taint
ButtonBorderType   = ACTION
DescriptLabel     = CONTROLBAR:TooltipTaint
    RadiusCursorType   = TaintRadiusCursor
    CursorName         = AttackObj
    InvalidCursorName = GenericInvalid
End

CommandButton Command_SpellBookWildMenAllies
Command = SPELL_BOOK
SpecialPower = SpellBookWildMenAllies
Options = NEED_TARGET_POS
TextLabel = CONTROLBAR:WildMenAllies
ButtonImage = BCInn_WildmenofDunland
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipSummonWildMenAllies
RadiusCursorType = WildmenAlliesRadiusCursor
    CursorName          = AttackObj
    InvalidCursorName   = GenericInvalid  
End

CommandButton Command_SpellBookSummonGiants
Command = SPELL_BOOK
SpecialPower = SpellBookSummonGiants
Options = NEED_TARGET_POS
TextLabel = CONTROLBAR:SummonGiants
ButtonImage = KUSummonGiantIcon
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipSummonGiants
RadiusCursorType = SummonGiantsRadiusCursor
    CursorName          = AttackObj
    InvalidCursorName   = GenericInvalid  
End

CommandButton Command_SpellBookWatcherAlly
Command = SPELL_BOOK
SpecialPower = SpellBookWatcherAlly
Options = NEED_TARGET_POS
TextLabel = CONTROLBAR:SummonWatcher
ButtonImage = SBEvil_SummonWatcher ;Needs replacement
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipSummonWatcher
RadiusCursorType = SummonWatcherRadiusCursor
    CursorName          = AttackObj
    InvalidCursorName   = GenericInvalid  
End

CommandButton Command_SpellBookSummonWights
Command = SPELL_BOOK
SpecialPower = SpellBookSummonWights
Options = NEED_TARGET_POS
TextLabel = CONTROLBAR:SummonWights
ButtonImage = KUSummonWightIcon
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipSummonWights
RadiusCursorType = SummonWightsRadiusCursor
    CursorName          = AttackObj
    InvalidCursorName   = GenericInvalid  
End

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;; GOOD SPELLS ;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


CommandButton Command_SpellBookHealNew
Command = SPELL_BOOK
TextLabel = CONTROLBAR:Heal
Options = NEED_TARGET_POS ; Huh, you can't have this flag and a radius cursor: CONTEXTMODE_COMMAND
DescriptLabel = CONTROLBAR:TooltipHeal
SpecialPower = SpellBookHeal
    ButtonImage = SBGood_Heal
ButtonBorderType = ACTION
RadiusCursorType = HealRadiusCursor
End

CommandButton Command_SpellBookTomBombadil
Command = SPELL_BOOK
    SpecialPower = SpellBookTomBombadil
Options = NEED_TARGET_POS
TextLabel = CONTROLBAR:SummonTomBombadil
    ButtonImage = SBGood_TomBombadil
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipSummonTomBombadil
RadiusCursorType = TomBombadilRadiusCursor
End

CommandButton Command_SpellBookArrowVolleyGood
Command = SPELL_BOOK
    SpecialPower = SpellBookArrowVolleyGood
Options = NEED_TARGET_POS
TextLabel = CONTROLBAR:ArrowVolley
    ButtonImage = SBGood_ArrowVolley
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipArrowVolley
    RadiusCursorType = ArrowStormRadiusCursor
    CursorName = AttackObj
    InvalidCursorName = GenericInvalid
End

CommandButton Command_SpellBookElvenWood
Command = SPELL_BOOK
SpecialPower = SpellBookElvenWood
Options = NEED_TARGET_POS
TextLabel = CONTROLBAR:ElvenWood
ButtonImage = SBGood_ElvenWood
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipElvenWood
RadiusCursorType = ElvenWoodRadiusCursor
    CursorName          = AttackObj
    InvalidCursorName   = GenericInvalid
End

CommandButton Command_SpellBookCloudBreak
Command = SPELL_BOOK
TextLabel = CONTROLBAR:CloudBreak
DescriptLabel = CONTROLBAR:TooltipCloudBreak
SpecialPower = SpellBookCloudBreak
ButtonImage = SBGood_CloudBreak
DescriptLabel = CONTROLBAR:TooltipCloudBreak
End

CommandButton Command_SpellBookEntAllies
Command = SPELL_BOOK
    SpecialPower = SpellBookEntAllies
    ButtonImage = SBGood_EntAllies
    Options = NEED_TARGET_POS ; Huh, you can't have this flag and a radius cursor: CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:SummonEntAllies
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipSummonEntAllies
RadiusCursorType = EntAlliesRadiusCursor
    CursorName          = AttackObj
    InvalidCursorName   = GenericInvalid
End

;;;;;;;;;;;;; END SPELL BOOKS ;;;;;;;;;;;;;;


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;Purchase spell commands;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;; EVIL SPELLS ;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

CommandButton Command_PurchaseSpellChillWindNew
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
    ButtonImage = KUChillWindIcon
    Science = SCIENCE_ChillWind
    TextLabel = CONTROLBAR:ChillWind
DescriptLabel = CONTROLBAR:TooltipChillWind
CommandTrigger = Command_SpellBookChillWindNew
End

CommandButton Command_PurchaseSpellTaintNew
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
    ButtonImage = SBEvil_Taint
    Science = SCIENCE_Taint
    TextLabel = CONTROLBAR:Taint
DescriptLabel = CONTROLBAR:TooltipTaint
CommandTrigger = Command_SpellBookTaintNew
End

CommandButton Command_PurchaseSpellWildMenAlliesNew
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
    ButtonImage = BCInn_WildmenofDunland
    Science = SCIENCE_WildMenAllies
    TextLabel = CONTROLBAR:WildMenAllies
DescriptLabel = CONTROLBAR:TooltipWildMenAllies
CommandTrigger = Command_SpellBookWildMenAlliesNew
End

CommandButton Command_PurchaseSpellSummonGiantsNew
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
    ButtonImage = KUSummonGiantIcon
    Science = SCIENCE_SummonGiants
    TextLabel = CONTROLBAR:SummonGiants
DescriptLabel = CONTROLBAR:TooltipSummonGiants
CommandTrigger = Command_SpellBookSummonGiantsNew
End

CommandButton Command_PurchaseSpellWatcherAllyNew
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
    ButtonImage = SBEvil_SummonWatcher ;Needs replacement
Science = SCIENCE_WatcherAlly
    TextLabel = CONTROLBAR:SummonWatcher
DescriptLabel = CONTROLBAR:TooltipSummonWatcher
CommandTrigger = Command_SpellBookWatcherAllyNew
End

CommandButton Command_PurchaseSpellSummonWightsNew
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
    ButtonImage = KUSummonWightIcon
Science = SCIENCE_SummonWights
    TextLabel = CONTROLBAR:SummonWights
DescriptLabel = CONTROLBAR:TooltipSummonWights
CommandTrigger = Command_SpellBookSummonWightsNew
End


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;; GOOD SPELLS ;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

CommandButton Command_PurchaseSpellHealNew
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
    ButtonImage = SBGood_Heal
    Science = SCIENCE_Heal
    TextLabel = CONTROLBAR:Heal
DescriptLabel = CONTROLBAR:TooltipHeal
CommandTrigger = Command_SpellBookHealNew
End

CommandButton Command_PurchaseSpellTomBombadilNew
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
    ButtonImage = SBGood_TomBombadil
    Science = SCIENCE_TomBombadil
    TextLabel = CONTROLBAR:SummonTomBombadil
    DescriptLabel = CONTROLBAR:TooltipSummonTomBombadil
CommandTrigger = Command_SpellBookTomBombadilNew
End

CommandButton Command_PurchaseSpellArrowVolleyGoodNew
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
    ButtonImage = SBGood_ArrowVolley
    Science = SCIENCE_ArrowVolleyGood
    TextLabel = CONTROLBAR:ArrowVolley
DescriptLabel = CONTROLBAR:TooltipArrowVolley
CommandTrigger = Command_SpellBookVolleyGoodNew
End

CommandButton Command_PurchaseSpellElvenWoodNew
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
    ButtonImage = SBGood_ElvenWood
    Science = SCIENCE_ElvenWood
    TextLabel = CONTROLBAR:ElvenWood
DescriptLabel = CONTROLBAR:TooltipElvenWood
CommandTrigger = Command_SpellBookElvenWoodNew
End

CommandButton Command_PurchaseSpellCloudBreakNew
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
    ButtonImage = SBGood_CloudBreak
    Science = SCIENCE_CloudBreak
    TextLabel = CONTROLBAR:CloudBreak
DescriptLabel = CONTROLBAR:TooltipCloudBreak
CommandTrigger = Command_SpellBookCloudBreakNew
End

CommandButton Command_PurchaseSpellEntAlliesNew
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
    ButtonImage = SBGood_EntAllies
    Science = SCIENCE_EntAllies
    TextLabel = CONTROLBAR:SummonEntAllies
DescriptLabel = CONTROLBAR:TooltipSummonEntAllies
CommandTrigger = Command_SpellBookEntAlliesNew
End

;;;;;;;;;;;;; END PURCHASE SPELL COMMANDS ;;;;;;;;;;;;;;


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;Special Power ini;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;------------------- good spells T1 ----------------------------------------------

SpecialPower SpellBookHeal
InitiateAtLocationSound = SpellHeal
Enum                 = SPECIAL_SPELL_BOOK_HEAL
Flags = WATER_OK RESPECT_RECHARGE_TIME_DISCOUNT
ReloadTime         = SPELL_RECHARGE_TIME_TIER_1
RequiredSciences     = SCIENCE_Heal
RadiusCursorRadius   = SPELL_HEAL_RADIUS_CURSOR
End

;------------------------------------------------------------------------------

;------------------------- evil spells T1----------------------------------------

SpecialPower SpellBookChillWind
Enum = SPECIAL_SPELL_BOOK_CHILL_WIND
RadiusCursorRadius = CHILL_WIND_EFFECT_RADIUS ; Match the radius in FXList TaintFX
RequiredSciences = SCIENCE_ChillWind
ReloadTime = SPELL_RECHARGE_TIME_TIER_1 ; in milliseconds
InitiateAtLocationSound = ChillWind
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End

;------------------------------------------------------------------------------
SpecialPower SpellBookTaint
Enum = SPECIAL_SPELL_BOOK_TAINT
RadiusCursorRadius = SPELLBOOK_TAINT_RADIUS ; Match the radius in FXList TaintFX
RequiredSciences = SCIENCE_Taint
ReloadTime = SPELL_RECHARGE_TIME_TIER_1 ; in milliseconds
InitiateAtLocationSound = SpellTaint
ViewObjectDuration = 5000
ViewObjectRange = 175
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NONE +WatcherHead +WatcherHittingArm +WatcherCaldera
ForbiddenObjectRange = SPELLBOOK_TAINT_RADIUS
End
;------------------------------------------------------------------------------

;---------------------------- GOOD SPELLS T2 ----------------------------------

SpecialPower SpellBookTomBombadil
Enum = SPECIAL_SPELL_BOOK_TOM_BOMBADIL
ReloadTime = 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 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 SpellBookElvenWood
Enum = SPECIAL_SPELL_BOOK_ELVEN_WOOD
RadiusCursorRadius = SPELLBOOK_TAINT_RADIUS ; Match the radius in FXList ElvenWood
RequiredSciences = SCIENCE_ElvenWood
ReloadTime       = SPELL_RECHARGE_TIME_TIER_2
InitiateAtLocationSound = SpellElvenWood
ViewObjectDuration = 5000
ViewObjectRange = 175
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NONE +WatcherHead +WatcherHittingArm +WatcherCaldera
ForbiddenObjectRange = SPELLBOOK_TAINT_RADIUS
End
;---------------------------------------------------------------------------------

;------------------------- evil spells T2----------------------------------------

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
;------------------------------------------------------------------------------

;---------------------------- GOOD SPELLS T3 ---------------------------------

SpecialPower SpellBookCloudBreak
Enum             = SPECIAL_SPELL_BOOK_CLOUD_BREAK
RequiredSciences  = SCIENCE_CloudBreak
ReloadTime       = 450000; SPELL_RECHARGE_TIME_TIER_3   RotWK originally 500000
InitiateSound    = SpellCloudBreakStereo
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
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

;------------------------- evil spells T3----------------------------------------

SpecialPower SpellBookSummonGiants
Enum = SPECIAL_SPELL_BOOK_GENERAL_SUMMON
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ReloadTime = SPELL_RECHARGE_TIME_TIER_3 ; in milliseconds
RadiusCursorRadius = 60.0
RequiredSciences = SCIENCE_SummonGiants
ViewObjectDuration = 5000
ViewObjectRange = 100
InitiateAtLocationSound  = WyrmSummonMS
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 30.0
End

;------------------------------------------------------------------------------
SpecialPower SpellBookWatcherAlly
Enum = SPECIAL_SPELL_BOOK_WATCHER_ALLY
Flags = WATER_OK NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ReloadTime = 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 SpellBookSummonWights
Enum = SPECIAL_SPELL_BOOK_GENERAL_SUMMON
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ReloadTime = SPELL_RECHARGE_TIME_TIER_3
RadiusCursorRadius = 90.0
RequiredSciences = SCIENCE_SummonWights
ViewObjectDuration = 5000
ViewObjectRange = 100
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 90.0
InitiateAtLocationSound = SummonWightsSound
End






;--------------------------------------------------------------------------------------
; System.ini changes
;--------------------------------------------------------------------------------------


ChildObject MenSpellBook GoodSpellBook
CommandSet          = ElvesSpellBookCommandSetNew
End

ChildObject ElvesSpellBook GoodSpellBook
CommandSet          = ElvesSpellBookCommandSetNew
End

ChildObject DwarvesSpellBook GoodSpellBook
CommandSet          = ElvesSpellBookCommandSetNew
End

ChildObject MordorSpellBook EvilSpellBook
CommandSet          = ElvesSpellBookCommandSetNew
End

ChildObject IsengardSpellBook EvilSpellBook
CommandSet          = ElvesSpellBookCommandSetNew
End

ChildObject WildSpellBook EvilSpellBook
CommandSet          = ElvesSpellBookCommandSetNew
End

ChildObject AngmarSpellBook EvilSpellBook
CommandSet          = ElvesSpellBookCommandSetNew
End


;-----------------------------------------------------------------
; Elven Spells
;-----------------------------------------------------------------

CommandSet ElvesSpellBookCommandSetNew
1 = Command_SpellBookTaint
2 = Command_SpellBookChillWind
3 = Command_SpellBookElvenWood

4 = Command_SpellBookSummonWights
5 = Command_SpellBookWildMenAllies
6 = Command_SpellBookArrowVolleyGood
7 = Command_SpellBookHeal

8 = Command_SpellBookWatcherAlly
9 = Command_SpellBookTomBombadil
10 = Command_SpellBookCloudBreak

11 = Command_SpellBookSummonGiants
12 = Command_SpellBookEntAllies
End

CommandSet ElvesSpellStoreCommandSetNew
1 = Command_PurchaseSpellElvenWood
2 = Command_PurchaseSpellChillWind
3 = Command_PurchaseSpellTaint

4 = Command_PurchaseSpellHeal
5 = Command_PurchaseSpellArrowVolleyGood
6 = Command_PurchaseSpellWildMenAllies
7 = Command_PurchaseSpellSummonWights

8 = Command_PurchaseSpellCloudBreak
9 = Command_PurchaseSpellTomBombadil
10 = Command_PurchaseSpellWatcherAlly

11 = Command_PurchaseSpellEntAllies
12 = Command_PurchaseSpellSummonGiants
End


schonmal vielen dank für hilfe

mfg