• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

is something wrong with this trigger? or is it the ability? or both?

Status
Not open for further replies.
Level 8
Joined
Jan 8, 2010
Messages
493
  • Events
    • Unit - A unit Uses an item
  • Conditions
    • (Level of Barbarian - Weapon Efficiency for (Triggering unit)) Greater than 0
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Item-type of (Item being manipulated)) Equal to Claymore
        • (Item-type of (Item being manipulated)) Equal to Cutlass
        • (Item-type of (Item being manipulated)) Equal to Flamberge
        • (Item-type of (Item being manipulated)) Equal to Gladius
        • (Item-type of (Item being manipulated)) Equal to Scimitar
      • Then - Actions
        • Unit - Add SP Weapon Efficiency Sword Lv1 to (Triggering unit)
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Item-type of (Item being manipulated)) Equal to Blade
        • (Item-type of (Item being manipulated)) Equal to Dagger
        • (Item-type of (Item being manipulated)) Equal to Dirk
        • (Item-type of (Item being manipulated)) Equal to Kriss
        • (Item-type of (Item being manipulated)) Equal to Stilleto
      • Then - Actions
        • Unit - Add SP Weapon Efficiency Knife Lv1 to (Triggering unit)
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Item-type of (Item being manipulated)) Equal to Battle Fork
        • (Item-type of (Item being manipulated)) Equal to Brandistock
        • (Item-type of (Item being manipulated)) Equal to Lance
        • (Item-type of (Item being manipulated)) Equal to Pike
        • (Item-type of (Item being manipulated)) Equal to Trident
        • (Item-type of (Item being manipulated)) Equal to Cleaver
        • (Item-type of (Item being manipulated)) Equal to Great Axe
        • (Item-type of (Item being manipulated)) Equal to Hand Axe
        • (Item-type of (Item being manipulated)) Equal to Hatchet
        • (Item-type of (Item being manipulated)) Equal to Tomahawk
      • Then - Actions
        • Unit - Add SP Weapon Efficiency AxesSpears Lv1 to (Triggering unit)
      • Else - Actions
that's the trigger. SP Weapon Efficiency abilities are disabled spellbooks with item-based damage bonus abilities. the trigger is supposed to give the triggering unit (a Barbarian class in my map, since it's the class with the Weapon Efficiency ability) a bonus damage depending on type of weapon it equipped. i'm wondering if it has anything to do with another trigger that has the same event but with a different condition (Condition - Item Type of Item Being Manipulated)

the problem:
when the Barbarian equips an item, it gives no bonus. it only gives the bonus the equipped item provides, but not the skill.
 
Last edited:
Level 8
Joined
Jan 8, 2010
Messages
493
oh yes, i forgot about it. haha. it's already in Or - Any Conditions XD
somehow it still doesn't work. im wondering if it has to do with the other condition. im pasting the map.

http://www.hiveworkshop.com/forums/pastebin.php?id=wty3ly

the other condition i'm talking about is in the Items Category, the Equip trigger. The Barbarian is the Fel Orc unit. And all equippable items are there. I tried it with the Claymore, but it only gives 60 bonus damage (Claymore is +60), instead of the supposedly +70.
 
Last edited:
Status
Not open for further replies.
Top