[SPELL]Non-lethal Transmute

Level 3
Joined
Apr 5, 2006
Messages
46
I'm not sure how will I do this so I'm asking you guys.

OK. Here goes.

I need a point and click spell, single target, that deals damage to the target. If that target dies because of this spell, the user of that spell gains Gold equal to the HP of the target before it dies.

I will give credits and raise the rep for who can supply this. Thanks.
 
Level 10
Joined
Sep 6, 2008
Messages
423
I'll help you when i get home later (16:30 gmt+1) or when i get to a windows comp (this is a fedora one) if no one has taken the request allready.

EDIT: Here you have it, base the dummy spell of anything that is unit-target and put everything to 0 or none except what a dummy ability needs.
  • Transmute New
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to New Transmute
    • Actions
      • Set Damage = 100
      • Set Gold = (Integer((Max life of (Target unit of ability being cast))))
      • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing ((Real(Damage)) x (Real((Level of New Transmute for (Triggering unit))))) damage of attack type Spells and damage type Normal
      • If (((Target unit of ability being cast) is alive) Equal to False) then do (Player - Add Gold to (Owner of (Triggering unit)) Current gold) else do (Do nothing)
      • Set Damage = 0
      • Set Gold = 0
 
Last edited:
Top