Opened 10 years ago
Last modified 8 years ago
#2936 closed enhancement
Relative Templates — at Version 2
Reported by: | scythetwirler | Owned by: | |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 20 |
Component: | Core engine | Keywords: | patch |
Cc: | Patch: |
Description (last modified by )
Currently, we [could] have templates for units such as
Generic War Dog
<Armour> <Hack>1</Hack> <Pierce>1</Pierce> <Crush>1</Crush> </Armour>
Ultra-Super Powered War Dog
<Armour> <Hack>11</Hack> <Pierce>8</Pierce> <Crush>9</Crush> </Armour>
It'd be a lot easier to make slight deviations if we had relative templates that perform an operation upon the stats of the parent. That is:
Ultra-Super Powered War Dog
<Armour> <Hack>+10</Hack> <Pierce>+7</Pierce> <Crush>+8</Crush> </Armour>
In the case that we need to change the stats of the entire class of units, we would have to only change the parent, but not every template that deviates.
Supporting the basic operations (+, -, x, ÷) would help greatly imo.
Change History (2)
comment:1 by , 10 years ago
Description: | modified (diff) |
---|
comment:2 by , 10 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.