Changes between Version 20 and Version 21 of Ticket #2048
- Timestamp:
- Aug 10, 2013, 3:27:47 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2048 – Description
v20 v21 1 1 I have a patch for Aura implementation. 2 3 The main patch, auras.diff, contains the other patches combined. 2 4 3 5 '''Main JS changes''' … … 5 7 It works basically as ranged-based technologies. So you can edit every template value you want (at least the ones prepared for technologies). 6 8 7 I also made an AuraManager, basically, that keeps track of all the added bonuses to units in auras. A bit like the TechnologyManager. 9 I also made an AuraManager, basically, that keeps track of all the added bonuses to units in auras. A bit like the TechnologyManager. 8 10 9 11 The auras themselves can also be changed by technologies (f.e. a technology to enlarge the healing range of a temple). Recalculating all auras isn't a very cheap operation though, so it's best to not change auras too often. 10 12 11 13 As the changes depend on things needed by the technologyManager, some stuff isn't yet ready to be changeable: 12 * Motion speeds can't be changed (at least I've found no way how). They probably aren't updated during the game 13 * Automatic heal or damage aura (= negative healing) can't work until the Health/RegenRate is implemented 14 * TraderGain isn't implemented yet 14 15 * Motion speeds can't be changed (at least I've found no way how). They probably aren't updated during the game 16 * Automatic heal or damage aura (= negative healing) can't work until the Health/RegenRate is implemented 17 * TraderGain isn't implemented yet 15 18 16 19 The JS changes do introduce a system component. So when applying the JS patch, a quick compile is needed. … … 20 23 '''cpp changes''' 21 24 22 I switched the cpp interface to use the same functions as the JS interface. '''This does require a clean_workspaces'''. 25 I switched the cpp interface to use the same functions as the JS interface. '''This does require a clean_workspaces'''. 23 26 24 27 The cpp changes aren't big, but it takes a long time to compile … … 88 91 iber_hero_caros.xml > Aura TBD 89 92 90 iber_hero_indibil.xml > Aura TBD 91 92 iber_hero_variato.xml > Aura TBD 93 iber_hero_indibil.xml > Aura TBD iber_hero_variato.xml > Aura TBD 93 94 94 mace_hero_alexander.xml > moved template to hele_hero_alexander + 25% extra territory95 mace_hero_alexander.xml > moved template to hele_hero_alexander + 25% extra territory 95 96 96 97 mace_hero_craterus.xml > moved template to hele_hero_craterus 97 98 98 mace_hero_demetrius.xml 99 mace_hero_demetrius.xml > moved template to hele_hero_demetrius 99 100 100 101 mace_hero_philip.xml > moved template to hele_hero_philip … … 120 121 rome_hero_scipio.xml > "Divide et Impera" Special (He has the ability to convert enemy units en masse at a great cost of metal). 121 122 122 spart_hero_agis.xml > "Last Stand" bonus. Has triple the Health of most infantry heroes. No other bonuses or auras. 123 spart_hero_agis.xml > "Last Stand" bonus. Has triple the Health of most infantry heroes. No other bonuses or auras. 123 124 124 125 spart_hero_brasidas.xml > +2 pierce attack and +3 pierce armour for nearby skirmishers