• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[JASS] Attack type/defense type change codes help

Status
Not open for further replies.
Level 12
Joined
Aug 10, 2004
Messages
1,141
I'm not use to jass but if someone could help me be able to change attack types when an item is piked up that would be great

If you were confused by what i just said then...
Unit picks up item (bow in this case)
Units attack changes from seige to peircing

Unit drops item (bow again)
Units attack changes from peircing to seige

I hope this can be done
 
Level 2
Joined
Oct 7, 2004
Messages
10
I'm not shure it can be done
But you could make a trigger to see when a unit picks
up the item and replace the unit with a unit with seige attack but is exactly the same as the orginal unit Eg same stats, items, other.
Did this help?
 
Status
Not open for further replies.
Top