• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

What is wrong with this spell?

Status
Not open for further replies.
Level 3
Joined
Dec 29, 2006
Messages
23
:sad: I want to make a spell that's damage is (100 + 3 x int) x (level of skill + 1) so ı created this trigger
Lightning
  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
    • Lightning Equal to (Ability being cast)
  • Actions
    • Set int = (Intelligence of (Triggering unit) (Include bonuses))
    • Game Cache - Store (Real(int)) as int of Category1 in (Last created game cache)
    • Set numberofbolts = (Level of Lightning for (Triggering unit))
    • Game Cache - Store (Real(numberofbolts)) as lvllightning of Category2 in (Last created game cache)
    • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing ((100.00 + (Load int of Category1 from (Last created game cache))) x ((Load lvllightning of Category2 from (Last created game cache)) + 1.00)) damage of attack type Spells and damage type Normal


but it always damages enemy 80
could you tell me what mus I do? :sad:
 
Last edited by a moderator:
Level 3
Joined
Dec 29, 2006
Messages
23
never mind. I found another way to make it. IF it is possible delete this thread
 
Status
Not open for further replies.
Top