Hi hive, i created this thread because i need help to creating a spell:
The spell summon a tower with expiration time. in the region and every second will drain 1 hp and 1 mana of the units that are in the range of the tower summoned
every hp point and mana point drained will be store in a hp and mp variable
if in the region there is no unit, the hp and mp variable will no increase
the hero have a Drain spell, when he active the tower will destroy and he get the hp and mp stored
if the tower is destroyed be the enemy he only get 50% of the hp and mana stored
if the tower get 0 expiration time hive get 100%
can you help me creating this system?
The spell summon a tower with expiration time. in the region and every second will drain 1 hp and 1 mana of the units that are in the range of the tower summoned
every hp point and mana point drained will be store in a hp and mp variable
if in the region there is no unit, the hp and mp variable will no increase
the hero have a Drain spell, when he active the tower will destroy and he get the hp and mp stored
if the tower is destroyed be the enemy he only get 50% of the hp and mana stored
if the tower get 0 expiration time hive get 100%
can you help me creating this system?