[Trigger] Help fix this trigger... (duel wielding)

Level 8
Joined
Aug 3, 2008
Messages
257
okay so heres the trigger

  • Pickup Weapon Condition
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Item-type of (Item being manipulated)) Equal to |c0000ff00Short Sword|r
          • (Item-type of (Item being manipulated)) Equal to |c0000ff00Small Dagger|r
          • (Item-type of (Item being manipulated)) Equal to |c0000ff00Short Bow|r
          • (Item-type of (Item being manipulated)) Equal to Crystal Dagger
          • (Item-type of (Item being manipulated)) Equal to Crystal Spear
          • (Item-type of (Item being manipulated)) Equal to Diamond Dagger
          • (Item-type of (Item being manipulated)) Equal to |c00e3be79Dragon Lance|r
          • (Item-type of (Item being manipulated)) Equal to Artemis Bow
          • (Item-type of (Item being manipulated)) Equal to Crescent Bow
          • (Item-type of (Item being manipulated)) Equal to Mithril Bow
          • (Item-type of (Item being manipulated)) Equal to Mithril Dagger
          • (Item-type of (Item being manipulated)) Equal to Mithril Spear
          • (Item-type of (Item being manipulated)) Equal to |c00e3be79Yoichi Bow|r
          • (Item-type of (Item being manipulated)) Equal to |c00e3be79Ragnarok|r
          • (Item-type of (Item being manipulated)) Equal to Mithril Sword
          • (Item-type of (Item being manipulated)) Equal to Ice Sword
          • (Item-type of (Item being manipulated)) Equal to |c00e3be79Excalibur|r
          • (Item-type of (Item being manipulated)) Equal to Diamond Sword
          • (Item-type of (Item being manipulated)) Equal to |c0000ff00Small Dagger|r
          • (Item-type of (Item being manipulated)) Equal to Crystal Sword
          • (Item-type of (Item being manipulated)) Equal to Aegis Axe
          • (Item-type of (Item being manipulated)) Equal to |c0000ff00Axe|r
          • (Item-type of (Item being manipulated)) Equal to Mithril Axe
          • (Item-type of (Item being manipulated)) Equal to Mithril Rod
          • (Item-type of (Item being manipulated)) Equal to |c0000ff00Rod|r
          • (Item-type of (Item being manipulated)) Equal to |c00e3be79Sage Staff|r
          • (Item-type of (Item being manipulated)) Equal to Staff of Wonders
          • (Item-type of (Item being manipulated)) Equal to Wizard Staff
          • (Item-type of (Item being manipulated)) Equal to Barong
          • (Item-type of (Item being manipulated)) Equal to Buster Sword
          • (Item-type of (Item being manipulated)) Equal to Chirijiraden
          • (Item-type of (Item being manipulated)) Equal to Gale Sword
          • (Item-type of (Item being manipulated)) Equal to Hard Knuckles
          • (Item-type of (Item being manipulated)) Equal to Mythril Claws
          • (Item-type of (Item being manipulated)) Equal to Full Vial
          • (Item-type of (Item being manipulated)) Equal to Silver Sword
          • (Item-type of (Item being manipulated)) Equal to |c000000ffo|r|c000000e6r|r|c000000cdi|r|c000000b4c|r|c0000009bhalcum|r
          • (Item-type of (Item being manipulated)) Equal to |c0000ff00Dream Watcher|r
          • (Item-type of (Item being manipulated)) Equal to |c0000ff00Greaseburst|r
          • (Item-type of (Item being manipulated)) Equal to |c00800080Black Lacquer|r |c000000ffBow|r
          • (Item-type of (Item being manipulated)) Equal to |c00e3be79Eclipse|r
          • (Item-type of (Item being manipulated)) Equal to |c00e3be79Masamune|r |c000000ff100|r
          • (Item-type of (Item being manipulated)) Equal to |c00e3be79Nagrarok|r
          • (Item-type of (Item being manipulated)) Equal to |c00e3be79Excalibur2|r
          • (Item-type of (Item being manipulated)) Equal to Hunter Bow
          • (Item-type of (Item being manipulated)) Equal to |c00804000K|r|c00aa7f00i|r|c00d4be00kuichimonji|r
          • (Item-type of (Item being manipulated)) Equal to |c00804000Z|r|c009f5000a|r|c00be6000n|r|c00dd7000kplus|r
    • Actions
      • For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c0000ff00Short Sword|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c0000ff00Small Dagger|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Crystal Dagger
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Crystal Spear
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Diamond Dagger
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c00e3be79Dragon Lance|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Artemis Bow
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Crescent Bow
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Mithril Bow
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Mithril Dagger
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Mithril Spear
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c00e3be79Yoichi Bow|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Mithril Sword
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Ice Sword
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c00e3be79Excalibur|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Diamond Sword
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Crystal Sword
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c0000ff00Small Dagger|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c00e3be79Ragnarok|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c0000ff00Short Sword|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Aegis Axe
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c0000ff00Axe|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Mithril Axe
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Mithril Rod
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c0000ff00Rod|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c00e3be79Sage Staff|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Staff of Wonders
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Wizard Staff
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Barong
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Buster Sword
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Chirijiraden
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Gale Sword
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Hard Knuckles
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Mythril Claws
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Full Vial
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Silver Sword
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c000000ffo|r|c000000e6r|r|c000000cdi|r|c000000b4c|r|c0000009bhalcum|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c0000ff00Dream Watcher|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c0000ff00Greaseburst|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c00800080Black Lacquer|r |c000000ffBow|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c00e3be79Eclipse|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c00e3be79Masamune|r |c000000ff100|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c00e3be79Nagrarok|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c00e3be79Excalibur2|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Hunter Bow
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c00804000K|r|c00aa7f00i|r|c00d4be00kuichimonji|r
                  • (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |c00804000Z|r|c009f5000a|r|c00be6000n|r|c00dd7000kplus|r
            • Then - Actions
              • Set AlreadyCarryingEquip = (AlreadyCarryingEquip + 1)
            • Else - Actions
              • Do nothing
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • AlreadyCarryingEquip Greater than 1
          • And - All (Conditions) are true
            • Conditions
              • (Unit-type of (Hero manipulating item)) Not equal to |c000000FFRogue|r
              • (Unit-type of (Hero manipulating item)) Not equal to |c00C0C0C0Gordon Stormshield|r
              • (Unit-type of (Hero manipulating item)) Not equal to |c000000FFDruid|r
              • (Unit-type of (Hero manipulating item)) Not equal to |cffffEE00Urlok Cloudkiller|r
        • Then - Actions
          • Hero - Drop (Item being manipulated) from (Hero manipulating item)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • AlreadyCarryingEquip Greater than 2
          • Or - Any (Conditions) are true
            • Conditions
              • ((Unit-type of (Hero manipulating item)) Equal to |c00C0C0C0Gordon Stormshield|r) and ((Item-type of (Item being manipulated)) Not equal to Crystal Spear)
              • (Unit-type of (Hero manipulating item)) Equal to |c000000FFRogue|r
              • (Unit-type of (Hero manipulating item)) Equal to |c000000FFDruid|r
              • (Unit-type of (Hero manipulating item)) Equal to |cffffEE00Urlok Cloudkiller|r
        • Then - Actions
          • Hero - Drop (Item being manipulated) from (Hero manipulating item)
        • Else - Actions
      • Set AlreadyCarryingEquip = 0
Now this makes it so, that the classes listed below can use duel wielding.. it works now some of them like the warrior can use spears, or 2h swords. I need to make this trigger be able to make it so they can't duel wield the 2h wpns... if that makes sense, soo... i've tried this...

  • ((Unit-type of (Hero manipulating item)) Equal to |c00C0C0C0Gordon Stormshield|r) and ((Item-type of (Item being manipulated)) Not equal to Crystal Spear)
but it's not helping any... any ideas?
 
Top