Opened 11 years ago

Last modified 11 years ago

#2048 closed enhancement

[PATCH][WIP] Implement Auras — at Version 4

Reported by: sanderd17 Owned by:
Priority: Should Have Milestone: Alpha 15
Component: UI & Simulation Keywords: patch
Cc: Patch:

Description (last modified by sanderd17)

I have a little WIP patch for Aura implementation.

It works basically as ranged-based technologies. So you can edit every template value you want.

I also made an AuraManager, basically, that keeps track of all the added bonuses to units in auras. A bit like the TechnologyManager.

As the changes depend on things needed by the technologymanager, some stuff isn't yet ready to be changable:

  • Motion speeds can't be changed (at least I've fount no way how). They probably aren't updated during the game
  • Automatic heal or damage aura (= negative healing) can't work until the Health/RegenRate is implemented

I also changed the templates of a lot of heroes to reflect there aura description

There are a lot of descriptions that have something in it that isn't an Aura (has no range), I didn't include them, as they should be transformed into technologies (deletable or not).

Changed templates:

Temple and Tavern > added heal aura (doesn't work yet, until Health/RegenRate is implemented)

Female support unit > +10% build and gather speed for nearby CitizenSoldiers

HEROES

athen_hero_iphicrates.xml > Added speed and armour bonus to units in its range

Adding speed to all peltasts isn't an aura (has no range)

athen_hero_pericles.xml > Added building speed for units in his visions

Cheaper temples is no aura (has no range)

athen_hero_themistocles.xml > moved template to hele_hero_thermistocles

brit_hero_boudicca_sword.xml > Aura TBD

brit_hero_boudicca.xml > moved template to celt_hero_boudicca

brit_hero_caratacos.xml > moved template to celt_hero_caratacos

brit_hero_cynvelin.xml > moved template to celt_hero_cynvelin

cart_hero_hamilcar.xml > Aura TBD

cart_hero_hannibal.xml > Aura TBD

cart_hero_maharbal.xml > +2 Attack for units in his aura

celt_hero_boudicca.xml > Increased speed is no aura (no range)

celt_hero_brennus.xml > +5 loot is no aura (no range)

celt_hero_britomartus.xml > doubled gathering speed in his vision

celt_hero_caratacos.xml > +25% speed for units in his vision (doesn't work yet, see note)

celt_hero_cynvelin.xml > Not possible to only execute aura when unit is idle (I propose to just drop that idle requirement)

celt_hero_vercingetorix.xml > add 2 attack for units in his range

gaul_hero_brennus.xml > moved template to celt_hero_brennus gaul_hero_britomartus.xml > moved template to celt_hero_britomanus

gaul_hero_vercingetorix.xml > moved template to celt_hero_vercingetorix

hele_hero_alexander.xml > general speed increase is no aura (no range)

hele_hero_demetrius.xml > Added attack and range for sieges in his view

hele_hero_leonidas.xml > Added attack for spearmen

hele_hero_philip.xml > Increased attack for nearby champion units

hele_hero_themistocles.xml > Auras are currently not transferable to garrisoned buildings

reducing cost is no aura (no range)

hele_hero_xenophon.xml > Added armour and speed to nearby units

adding speed to all peltasts is no aura (no range)

iber_hero_caros.xml > Aura TBD

iber_hero_indibil.xml > Aura TBD iber_hero_variato.xml > Aura TBD

mace_hero_alexander.xml > moved template to hele_hero_alexander mace_hero_craterus.xml > moved template to hele_hero_craterus

mace_hero_demetrius.xml > moved template to hele_hero_demtrius

mace_hero_philip.xml > moved template to hele_hero_philip

maur_hero_ashoka.xml > Aura TBD

maur_hero_chanakya.xml > Aura TBD

maur_hero_maurya.xml > Aura TBD

pers_hero_cyrus.xml > Add 3 attack to nearby cavalry

pers_hero_darius.xml > Increase movement speed with 50% (doesn't work yet, see note)

Trading bonus is no aura (has no range)

pers_hero_xerxes_chariot.xml > +25% gather and build speed

pers_hero_xerxes.xml > +25% gather and build speed

rome_hero_marcellus.xml > Aura TBD

rome_hero_maximus.xml > Aura TBD

rome_hero_scipio.xml > Aura TBD

spart_hero_agis.xml > No aura

spart_hero_brasidas.xml > +2 pierce attack and +3 pierce armour for nearby skirmishers

spart_hero_leonidas.xml > moved template to hele_hero_leonidas

Change History (4)

comment:1 by sanderd17, 11 years ago

Description: modified (diff)

comment:2 by sanderd17, 11 years ago

Added support for templates, although it doesn't work completely yet.

comment:3 by sanderd17, 11 years ago

Description: modified (diff)

comment:4 by sanderd17, 11 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.