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
 
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.
 
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.
Back
Top