• 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.

Need help with making spell damage on items

Status
Not open for further replies.
Level 3
Joined
Sep 30, 2008
Messages
21
Hi umm i kinda wanna make spell damage on my items if anyone know a not to hard way of doing that id like some help :p and if it needs good knowladge of jass just a post saying sry or something is enough atm cuz atm im not so good with jass
 
Level 18
Joined
Aug 23, 2008
Messages
2,319
You can either do that with specific abilities (or all abilities, but then you need to make quite some triggers).
  • Events
    • Unit - A unit begins casting an ability
  • Conditions
  • Actions
    • If (All conditions are true), then do (Then - Actions), else do (Else - Actions)
      • If - Conditions
        • Ability being cast equal to ABILITY1
      • Then - Actions
        • Unit - Cause (Triggering unit) to damage (Target of ability being cast), dealing <50% of ABILITY1's damage) damage of attack type Spell and damage type Normal
      • Else - Actions
    • If (All conditions are true), then do (Then - Actions), else do (Else - Actions)
      • If - Conditions
        • Ability being cast equal to ABILITY2
      • Then - Actions
        • Unit - Cause (Triggering unit) to damage (Target of ability being cast), dealing <50% of ABILITY2's damage) damage of attack type Spell and damage type Normal
      • Else - Actions
    • etc.
Or check the damage caused with a damage detecting system (can be found on THW), and only check for damage done by abilities. I just don't know if that's possible, since I've never worked with damage detecting systems before.
 
Level 3
Joined
Sep 30, 2008
Messages
21
umm one more question dont i need to add like another condition for the unit if its holding the item = true?

Nevermind got it working now^^ i can make the added dmg equal to the items hp so i dont have to make a new trigger for each item to^^ now i can finally make a balanced mage class
Thanks alot :p
 
Last edited:
Status
Not open for further replies.
Top