Author Topic: upgrade question and splash question  (Read 1332 times)

verarticus

  • Guest
upgrade question and splash question
« on: 8 December 2008, 02:33:17 »
is it possible to make an upgrade that will increase heath or ep regeneration? and if there is what would I put?
and how do I make splash not hurt my guys but still hurt the enemies? and before you post yes I set the damage all option to false but that didn't work.

modman

  • Guest
Re: upgrade question and splash question
« Reply #1 on: 18 December 2008, 22:56:18 »
I think this might be helpful:

Code: [Select]
<?xml version="1.0" standalone="no"?>

<upgrade>
<image path="images/merlin_touch.bmp"/>
<image-cancel path="../cauldren/images/dark_magic_upgrade_cancel.bmp"/>
<time value="300"/>
<unit-requirements/>
<upgrade-requirements/>
<resource-requirements>
<resource name="gold" amount="300"/>
</resource-requirements>
<effects>
<unit name="dark_mage"/>
<unit name="reaper"/>
<unit name="tartaro"/>
<unit name="wyvern"/>
<unit name="witch"/>
<unit name="shadow_walker"/>
</effects>
<max-hp value="300"/>
<max-ep value="0"/>
<sight value="0"/>
<attack-strenght value="0"/>
<attack-range value="0"/>
<armor value="0"/>
<move-speed value="0"/>
<production-speed value="0"/>
</upgrade>

It is the code for the Merlin Touch upgrade.  You can add HP or EP reserve, but I doubt you can add regeneration.

verarticus

  • Guest
Re: upgrade question and splash question
« Reply #2 on: 19 December 2008, 00:39:54 »
Ya I know how to add max reserve but just wondering about the regeneration.

 

anything