Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///start bank hides
- //if not @findobject 'bankcrystal'
- // headmsg 'Please select your bank crystal'
- // promptalias 'bankcrystal' 15000
- //endif
- //if @findtype 0x1079 'any' 'lootbag'
- // useobject 'bankcrystal'
- // msg '[moveitems'
- // waitfortarget 15000
- // target! 'found'
- // waitfortarget 15000
- // target! 0x430285a3
- // // target! 'bank'
- //endif
- //endofbankhides
- //
- if color < 33918 or color > 33918
- cast 'vampiric embrace'
- endif
- //
- if not buffexists 'protection'
- cast 'protection'
- pause 500
- endif
- //
- //////////////////////////
- ////////Combat v6
- //////////////////////////
- ///Setup
- if not @findobject 'weapon'
- headmsg 'Please target your Weapon'
- promptalias 'weapon' 15000
- endif
- if not @findobject 'shield'
- headmsg 'Please target your Shield'
- promptalias 'shield' 15000
- endif
- if not @findobject 'lootbag'
- headmsg 'Please target your Lootbag'
- promptalias 'lootbag' 15000
- endif
- if not @findalias 'portableforge'
- headmsg 'Please target your Portable Forge'
- promptalias 'portableforge' 15000
- endif
- if not @findalias 'portabank'
- headmsg 'Please target your Bank Crystal'
- promptalias 'portabank' 15000
- endif
- //////////////////////////////////////
- //////////////////////////////////////
- //////////////////////////////////////
- if @findtype 0x1079 'any' 0x40e2ffd4 'any' 0
- msg '[ffp'
- endif
- ////////////////////////
- ////////////////////////
- @removelist 'tailorclips'
- if not @listexists 'tailorclips'
- createlist 'tailorclips'
- pushlist 'tailorclips' 0x1b0a //bones
- pushlist 'tailorclips' 0x1b0d //bones
- pushlist 'tailorclips' 0x1b0f //bones
- pushlist 'tailorclips' 0x1b0c //bones
- pushlist 'tailorclips' 0x1b17 //bones
- pushlist 'tailorclips' 0x1b0b //bones
- pushlist 'tailorclips' 0x1b0e //bones
- pushlist 'tailorclips' 0x1b10 //bones
- pushlist 'tailorclips' 0x1b09 //bones
- pushlist 'tailorclips' 0x1b18 //bones
- endif
- ////////////////////////
- ///////////////////////////////
- //clip hides to leather
- for 0 to 'tailorclips'
- while @findtype 'tailorclips[]'
- @usetype 0xf9f
- waitfortarget 1000
- @target! 'found'
- endwhile
- endfor
- ///////////////////////////////////////////
- ///////////////////////////////////////
- ///////////////////////////////////////
- //Timers
- if not timerexists 'consecratetimer'
- createtimer 'consecratetimer'
- settimer 'consecratetimer' 0
- endif
- if not timerexists 'discotimer'
- createtimer 'discotimer'
- settimer 'discotimer' 0
- endif
- if not timerexists 'bandagetimer'
- createtimer 'bandagetimer'
- settimer 'bandagetimer' 0
- endif
- if not timerexists 'abilitytimer'
- createtimer 'abilitytimer'
- settimer 'abilitytimer' 0
- endif
- if not timerexists 'cursetimer'
- createtimer 'cursetimer'
- settimer 'cursetimer' 0
- endif
- /////////
- /////////
- /////////
- ///////// Main Loop
- if not @serial 'lefthand' == 0x409ec477
- //equip weapon
- if not @findobject 'righthand'
- equipitem 'weapon' 2
- pause 500
- endif
- //equip shield
- if not @findobject 'lefthand' and @findobject 'righthand'
- equipitem 'shield' 2
- pause 500
- endif
- endif
- @getenemy 'murderer' 'enemy' 'criminal' 'gray' 'closest'
- pause 400
- if @findobject 'enemy'
- @clearjournal
- if @inrange 'enemy' 10
- if hits 'enemy' == maxhits 'enemy'
- virtue 'honor'
- waitfortarget 5000
- target! 'enemy' 200
- pause 300
- canceltarget
- @attack 'enemy'
- endif
- ////////////////////////////////////////
- ////////////////////////////////////////
- if @injournal 'you defend with Shield of Spikes!'
- replygump 0x4239a64f 1004
- clearjournal
- endif
- ////////////////////////////////////////
- ////////////////////////////////////////
- ////////////////////////////////////////
- ////////////////////////////////////////
- ////////////////////////////////////////
- ////////////////////////////////////////
- ////////////////////////////////////////
- ////////////////////////////////////////
- //use ability
- // comment out the one you wish not to use
- if mana >= 64 and timer 'abilitytimer' > 500
- //primary
- @setability 'primary' 'on'
- //secondary
- //setability 'secondary' 'on'
- ////////////////////////////////////////
- ////////////////////////////////////////
- ////////////////////////////////////////
- ////////////////////////////////////////
- ////////////////////////////////////////
- ////////////////////////////////////////
- ////////////////////////////////////////
- ////////////////////////////////////////
- ////////////////////////////////////////
- ////////////////////////////////////////
- endif
- if mana >= 5
- if @injournal 'You attack' 'system'
- cast 'Lightning Strike'
- cast 'Counter Attack'
- if @injournal 'you defend with Shield of Spikes!'
- replygump 0x4239a64f 1004
- endif
- clearjournal
- endif
- endif
- ///////////////////////////
- ///////////////////////////
- ///////////////////////////
- /////Disco target
- if not @injournal 'jarring' and not @injournal 'already' and not @injournal 'would have no effect'
- if timer 'discotimer' >= 2050 and @inrange 'enemy' 6
- useskill 'Discordance'
- waitfortarget 1000
- target! 'enemy' 2000
- settimer 'discotimer' 0
- pause 126
- canceltarget
- endif
- clearjournal
- endif
- ////////////////
- ////////////////
- ////////////////
- // Divine Fury
- if not buffexists "divine fury"
- @cast 'Divine Fury'
- pause 500
- if @injournal 'not yet recovered' 'system' or @injournal 'you are already' 'system'
- replay
- endif
- clearjournal
- endif
- /////////////////////
- /////////////////////
- /////////////////////
- ///// Consecrate Weapon
- if timer 'consecratetimer' >= 9000
- if not buffexists "Consecrate Weapon"
- @cast "Consecrate Weapon"
- pause 500
- settimer 'consecratetimer' 0
- if @injournal 'not yet recovered' 'system' or @injournal 'you are already' 'system'
- replay
- endif
- clearjournal
- endif
- endif
- @attack 'enemy'
- endif
- endif
- ///////////////////////////////////////////
- ////////////////////////////////
- // checks and gold
- if @findtype 0xeed 0x0 'backpack'
- @usetype 0xeed 0x0 'backpack'
- pause 400
- elseif @findtype 0x14f0 52 'backpack'
- useobject 0x42c79fe3
- waitforgump 0x9021dd59 1500
- replygump 0x9021dd59 5 2
- waitfortarget 1500
- targettype! 0x14f0 52 500
- pause 100
- canceltarget
- pause 400
- replygump 0x9021dd59 0 2
- endif
- if @contents 'tokenbag' >= 1
- waitforcontext 0x42c79fe7 0 1500
- endif
- clearignorelist
- while @findtype 0xeef 'any' 'ground'
- headmsg 'Leprechan Gold!' 2125 'found'
- if @inrange 'found' 1
- useobject! 'found'
- endif
- endwhile
- while @findtype 0xeed 'any' 'ground' or @findtype 0xeef 'any' 'ground'
- useobject! 'found'
- endwhile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement