Required Plugins:
- MQ2Cast
- MQ2Exchange
In the events section add:
Code: Select all
#event Mount "#*#Mount Up#*#"At the bottom add:
Code: Select all
| -=-=-=-=-=-=-=-=-=-=-=-=-
| -= Mount Event =-
| -=-=-=-=-=-=-=-=-=-=-=-=-
| * Attempts to cast a mount
| -=-=-=-=-=-=-=-=-=-=-=-=-
Sub Event_Mount
/declare counter1 int local
/declare counter2 int local
/If (!${Me.Moving} && !${Me.Casting.ID}) {
/for counter1 1 to 25
/If (${Me.Buff[${counter1}].ID} && !${Me.Buff[${counter1}].Spell.WillStack[Summon Drogmor]}) /return
/next counter1
/for counter1 22 to 30
/If (${Me.Inventory[${counter1}].Container}) {
/for counter2 1 to ${Me.Inventory[${counter1}].Container}
/If (${Me.Inventory[${counter1}].Item[${counter2}].Spell.Name.Length} && !${Me.Inventory[${counter1}].Item[${counter2}].Spell.WillStack[Summon Drogmor]}) {
/casting "${Me.Inventory[${counter1}].Item[${counter2}].Name}" ${Me.Inventory[${counter1}].Item[${counter2}].WornSlot[1]} Item
/return
}
/next counter2
} else /If (${Me.Inventory[${counter1}].Spell.Name.Length} && !${Me.Inventory[${counter1}].Spell.WillStack[Summon Drogmor]}) {
/casting "${Me.Inventory[${counter1}].Name}" ${Me.Inventory[${counter1}].WornSlot[1]} Item
/return
}
/next counter1
}
/return-([edited: 3/29/09] Restructured for better optimization)
-([edited: 3/15/09] Removed "Bejeweled Bridle")
