Spell Problem

Status
Not open for further replies.
Level 2
Joined
Nov 2, 2005
Messages
12
I need to make a spell to make a Catapult shoot its projectile to a random spot between two points(of range) and do a set amount of damage in the area it hits. But im not sure how i could rig that up could anyone help?
 
How about something like this:

  • Catapult
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Your Unit
      • (Ability being cast) Equal to Your Spell
      • (Random integer number between 300 and 1000) Equal to (Integer A)
    • Actions
      • Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 500.00 at Space_Attack[(Integer A)], dealing 100.00 damage of attack type Siege and damage type Normal
The only variable is "Space_Attack" which is a Point.

Hope this helps.
 
Status
Not open for further replies.
Back
Top