Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sub set_declares_custom()
- /declare memCurrentGem int outer 1
- /declare hookOnEnterCombat bool outer TRUE
- /declare hookOnExitCombat bool outer TRUE
- /if (${Bool[${Plugin[mq2rez]}]}) /plugin mq2rez unload
- /return
- | Hooks
- Sub hook_OnEnterCombat
- OUT OnEnterCombat
- /return
- Sub hook_OnExitCombat
- OUT OnExitCombat
- /return
- | Custom setup
- | /cc = /call Bind_setCombatControl
- | /edit = /call Bind_sql_edit
- | /tc = /call Bind_setTieControl
- | /setassist = /call Bind_setAssist
- | /core = /call Bind_Core
- | /buffs = /call Bind_buff
- | /movement = /call Bind_setMovementControls
- #bind setup /setup
- Sub Bind_setup()
- | Follow the MA using nav
- /call Bind_setTieControl name ${Group.MainAssist.Name}
- /call Bind_setTieControl mode nav
- /call Bind_setTieControl distance 5
- | Assist group's MA at 100%, why wait. Don't know the difference b/w engage & smartengage
- /call Bind_setAssist g on
- /call Bind_setCombatControl engage 100
- /call Bind_setCombatControl smartengage 100
- | Everyone melees
- /call Bind_setCombatControl melee on
- | Everyone buffs
- /call Bind_buff self on
- /call Bind_buff bc on
- | Always use last gem for buffs
- /call Bind_sql_edit buffGem ${Me.NumGems}
- | Set up mount
- |/call Bind_sql_edit setMount "Mount Item Name"
- | Use fast face
- /call Bind_setMovementControls fast on
- | Custom setup for each class
- /call setup_${Me.Class.ShortName}
- | Memorize spells
- /call Bind_memall
- | Finally, turn auto on
- /call Bind_Core auto on
- /return
- Sub setup_CLR
- | AA unity buff
- /call Bind_sql_edit BuffAAUnity1 "Armor of the Merciful"
- | Auras
- /call Bind_sql_edit Aura1Spell "Aura of the Reverent"
- /call Bind_sql_edit Aura1Buff "Reverent Aura"
- /call Bind_sql_edit Aura2Spell "Circle of Divinity"
- /call Bind_sql_edit Aura2Buff "Circle of Divinity"
- | Group buffs
- /call Bind_sql_edit Buff1 "Unified Hand of Assurance"
- /call Bind_sql_edit Buff1self TRUE
- | Tank buffs
- /call Bind_sql_edit Buff2 "Rallied Greater Guard of Vie"
- /call Bind_sql_edit Buff2self FALSE
- /call Bind_sql_edit BCBuff2Class |WAR|PAL|SHD
- /call Bind_sql_edit Buff3 "Shining Fortress"
- /call Bind_sql_edit Buff3self FALSE
- /call Bind_sql_edit BCBuff3Class |WAR|PAL|SHD
- /call Bind_sql_edit Buff4 "Anticipated Intercession"
- /call Bind_sql_edit Buff4self FALSE
- /call Bind_sql_edit BCBuff4Class |WAR|PAL|SHD
- /call Bind_sql_edit Buff5 "Divine Imposition"
- /call Bind_sql_edit Buff5self FALSE
- /call Bind_sql_edit BCBuff5Class |WAR|PAL|SHD
- | Self buff
- /call Bind_sql_edit Buff6 "Divine Response"
- /call Bind_sql_edit Buff6self TRUE
- /call Bind_sql_edit BCBuff6Class FALSE
- /call Bind_sql_edit Buff7 FALSE
- /call Bind_sql_edit Buff8 FALSE
- /call Bind_sql_edit Buff9 FALSE
- /call Bind_sql_edit Buff10 FALSE
- | Heal self, group & xtarget
- /call Bind_heal self on
- /call Bind_heal group on
- /call Bind_heal xtarget on
- /return
- Sub setup_WIZ()
- | AA unity buff
- /call Bind_sql_edit BuffAAUnity1 "Shield of Scales"
- | Nuke lines
- /call Bind_sql_edit lineIce "|Quiescent Gambit|Shocking Vortex|Claw of Travenro|Ethereal Icefloe|Icefloe Cascade|Cloudburst Thunderbolt"
- /call Bind_sql_edit lineFire "|Quiescent Gambit|Shocking Vortex|Claw of Qunard|Ethereal Braid|Ethereal Skyfire|Cloudburst Thunderbolt"
- /call Bind_sql_edit lineCurrent Fire
- | Enable nuking
- /call Bind_setCombatControl nuke on
- | Enable alliance
- /call Bind_setCombatControl alliance on
- | Rest to full, through combat
- /call Bind_Core_environment restfull on
- /call Bind_Core_environment restcombat on
- /call Bind_setCombatControl rest 20
- /return
- Sub setup_ENC()
- | AA unity buff
- /call Bind_sql_edit BuffAAUnity1 "Ward of the Transfixer"
- /call Bind_sql_edit BuffAAUnity2 "Shield of Scales"
- | Auras
- /call Bind_sql_edit Aura1Spell "Mana Repetition Aura"
- /call Bind_sql_edit Aura1Buff "Mana Repetition Aura"
- /call Bind_sql_edit Aura2Spell "Twincast Aura"
- /call Bind_sql_edit Aura2Buff "Twincast Aura"
- | Group buffs
- /call Bind_sql_edit Buff1 "Voice of Perspicacity"
- /call Bind_sql_edit Buff1self TRUE
- /call Bind_sql_edit BCBuff1Class |WAR|PAL|SHD|BRD|RNG|BST|BER|MNK|ROG|WIZ|MAG|ENC|NEC|CLR|DRU|SHM
- /call Bind_sql_edit Buff2 "Hastening of Milyex"
- /call Bind_sql_edit Buff2self TRUE
- /call Bind_sql_edit BCBuff2Class |WAR|PAL|SHD|BRD|RNG|BST|BER|MNK|ROG|WIZ|MAG|ENC|NEC|CLR|DRU|SHM
- | Spell/DoT shield runes on all but tanks, no point refreshing on them
- /call Bind_sql_edit Buff3 "Legion of Skrizix"
- /call Bind_sql_edit Buff3self TRUE
- /call Bind_sql_edit BCBuff3Class |BRD|RNG|BST|BER|MNK|ROG|WIZ|MAG|ENC|NEC|CLR|DRU|SHM
- /call Bind_sql_edit Buff4 "Legion of Milyex"
- /call Bind_sql_edit Buff4self TRUE
- /call Bind_sql_edit BCBuff4Class |BRD|RNG|BST|BER|MNK|ROG|WIZ|MAG|ENC|NEC|CLR|DRU|SHM
- | Polyfluorescent instead of Polyrefractive
- /call Bind_sql_edit runePoly "Polyfluorescent Rune"
- /return
- Sub setup_SHD()
- | AA unity buff
- |/call Bind_sql_edit BuffAAUnity1 "Mental Fright"
- /call Bind_sql_edit BuffAAUnity1 "Tylix's Horror"
- /call Bind_sql_edit BuffAAUnity2 "Helot Skin"
- /call Bind_sql_edit BuffAAUnity3 "Call of Nightfall"
- /call Bind_sql_edit BuffAAUnity4 "Drape of the Magmaforged"
- /call Bind_sql_edit BuffAAUnity5 "Shroud of the Krellnakor"
- /call Bind_sql_edit BuffAAUnity6 "Remorseless Demeanor"
- | Bash & taunt
- /call Bind_setCombatControl meleedisc bash on
- /call Bind_setCombatControl meleedisc taunt on
- | Taunt on SHD options too?!
- /call Bind_setSHD taunt on
- | Use AE hates
- /call Bind_setSHD ae on
- | Use lifetap discs (including vicious bite)
- /call Bind_heal self on
- | Use breather instead of hiatus. Lowercase matters here
- /call Bind_sql_edit DiscRest breather
- | Use nuke function to cast taps
- /call Bind_sql_edit Nuke1 "Dire Testimony"
- /call Bind_sql_edit Nuke2 "Touch of Hemofax"
- /call Bind_sql_edit Nuke3 "Touch of T`Vem"
- | Enable nuking
- /call Bind_setCombatControl nuke on
- | Pull with a 200 radius
- /call Bind_setCombatControl pull on
- /call Bind_setCombatControl agro 200
- | Pull with terror instead of hate's attraction
- /call Bind_sql_edit strRangeSpell "Terror of Kra`Du"
- /call Bind_setSHD attraction off
- | Hold aggro
- /call Bind_setCombatControl agro on
- | Turn on stance, skin & harmonious disruption
- /call Bind_setSHD stance on
- /call Bind_setSHD skin on
- /call Bind_setSHD harmonious on
- | Rest at 20%
- /call Bind_setCombatControl rest 20
- /return
- | Spell memorization
- Sub mem_reset()
- /varset memCurrentGem 1
- /return
- Sub try_mem(string spellName)
- /if (${Me.Gem[${spellName}]} && ${Me.Gem[${spellName}]} < ${memCurrentGem}) /return
- /if (${memCurrentGem} > ${Me.NumGems}) {
- VSPELL Not enough gems to memorize ${spellName}
- /return
- }
- /call mem_spell FALSE TRUE "${spellName}" ${memCurrentGem} FALSE TRUE
- /varcalc memCurrentGem ${memCurrentGem}+1
- /return
- #bind memall /memall
- Sub Bind_memall()
- /call memall_${Me.Class.ShortName}
- /return
- Sub memall_WIZ()
- /declare _index int local 0
- /declare _list string local ${line${lineCurrent}}
- /call mem_reset
- /if (${Bool[${TwincastSpell}]}) /call try_mem "${TwincastSpell}"
- /if (${Bool[${GatherSpell}]}) /call try_mem "${GatherSpell}"
- /if (${Bool[${GoMNuke}]}) /call try_mem "${GoMNuke}"
- /if (${Bool[${GoMNuke2}]}) /call try_mem "${GoMNuke2}"
- /if (${swAlliance} && ${Bool[${WIZAlliance}]}) /call try_mem "${WIZAlliance}"
- /call try_mem "${NukeTwincast${lineCurrent}}"
- /for _index 1 to ${_list.Count[|]}
- /call try_mem "${_list.Arg[${_index},|]}"
- /next _index
- /return
- Sub memall_ENC()
- /return
- Sub memall_CLR()
- /return
- Sub memall_SHD()
- /return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement