Modify Protounit
<Effect name="Modify Protounit">
<Param name="ProtoUnit" dispName="$$22449$$ProtoUnit" varType="protounit">Villager</Param>
<Param name="PlayerID" dispName="$$22301$$Player" VarType="player">1</Param>
<Param name="Field" dispName="$$25417$$Field" varType="pufield">0</Param>
<Param name="Delta" dispName="$$25418$$Delta" varType="float">1.0</Param>
<Command>trModifyProtounit("%ProtoUnit%",%PlayerID%,%Field%,%Delta%);</Command>
</Effect>
trModifyProtounit(unit, player, field, delta)
field |
|
field |
|
0 |
Hitpoints |
36 |
Hand Attack Crush |
1 |
Speed |
37 |
Ranged Attack Hack |
2 |
LOS |
38 |
Ranged Attack Pierce |
3 |
Train Ponits |
39 |
Ranged Attack Crush |
4 |
Build Ponits |
40 |
Hand Bonus v. Hero |
5 |
Max Containes |
41 |
Hand Bonus v. Cavalry |
6 |
Population Count |
42 |
Hand Bonus v. Infantry |
7 |
Pop Cap Addition |
43 |
Hand Bonus v. Archer |
8 |
Lifespan |
44 |
Hand Bonus v. Siege |
9 |
Recharge Time |
45 |
Hand Bonus v. Tower |
10 |
Build Limit |
46 |
Hand Bonus v. Ship |
11 |
Range |
47 |
Hand Bonus v. Building |
12 |
Mininum Range |
48 |
Hand Bonus v. Villagers |
13 |
Healing Rate |
49 |
Hand Bonus v. Huntable Animals |
14 |
Healing Range |
50 |
Ranged Bonus v. Hero |
15 |
Cost Coin |
51 |
Ranged Bonus v. Cavalry |
16 |
Cost Wood |
52 |
Ranged Bonus v. Infantry |
17 |
Cost Food |
53 |
Ranged Bonus v. Archer |
18 |
Cost Experience |
54 |
Ranged Bonus v. Siege |
19 |
Cost Home City Upgrades Available |
55 |
Ranged Bonus v. Tower |
20 |
Cost XP |
56 |
Ranged Bonus v. Ship |
21 |
Cost Ships |
57 |
Ranged Bonus v. Building |
22 |
Cost Export |
58 |
Ranged Bonus v. Villagers |
23 |
Carry Capacity Coin |
59 |
Ranged Bonus v. Huntable Animals |
24 |
Carry Capacity Wood |
60 |
HitPercent |
25 |
Carry Capacity Food |
61 |
DamageMultiplier |
26 |
Carry Capacity Experience |
62 |
HitPercentType |
27 |
Carry Capacity Home City Upgrades Available |
63 |
BuildingWorkRate |
28 |
Carry Capacity XP |
64 |
Research Points |
29 |
Carry Capacity Ships |
65 |
Build Bounty |
30 |
Carry Capacity Export |
66 |
PopulationCapBonus |
31 |
Armor Hack |
67 |
PopulationCapExtra |
32 |
Armor Pierce |
68 |
revealLOS |
33 |
Armor Crush |
69 |
WorkRateSpecific |
34 |
Hand Attack Hack |
70 |
XPRate |
35 |
Hand Attack Pierce |
|
|