;============================================================
; Script Name: SUO Combat Companion
; Author: Cerveza
; Version: B2.0
; Shard OSI/FS: OSI/FS
; Revision Date: 03/27/2009
; Purpose: Control Repetative Combat Actions
;============================================================
; ____ _ _ __ _ ___
; / __/ ___ _ _(_)_ _ | |_\ \ / / _ \
; \__ \/ _| `_| | ` \| _/ / \ \/ \ \
; __/ \ (_| | | | |) | | \ \_/ /\_/ /
; \____/\__|_| |_| _/\__| \___/\___/
; |_|
; |C|o|m|b|a|t| |C|o|m|p|a|n|i|o|n|
;============================================================
; Revision History:
; v1.0b - First Beta Release
; v2.0b - Reorganized loop to remove evil goto's
; - Added auto honor and attack
set %version 2.0b
;============================================================
; THIS IS A BETA COPY, NOT A RELEASE
;
; If you want to give this a try, make
; sure to post your results, both good
; and bad. If you want to help with
; this project, please PM me on SUO.
;
;============================================================
Remember, this is a BETA! I haven't fully tested this at all.
History: Once there was an auto honor script, and a lightning strike script, and a curse weapon script, and a... well you get the idea. I was running several scripts at the same time to accomplish basic Sampire functions. This is a compilation of those scripts in one.
SUOCC is TM's Healing Commander and TM's CLaW Looter aware. That means this script will wait if either of those scripts are active. This script is also "enemy aware". It shouldn't just keep casting these combat spells if there's nothing around.
The setup sucks, yes. But it's necessary for later when a menu gets added. Speaking of which, someone could step up and volunteer to make a menu for this. I'm not sure I'll ever have the time.
In a nutshell.... SUOCC has:
Curse Weapon - duration based on Spirit Speak skill
Enemy of One - duration based on user setting
Evasion - timer set for OSI shards
Divine Fury - user setting for when to cast
Lightning Strike - auto
Trapped Crate - for breaking paralysis
Honor single target - user sets hotkey*
Cure/Heal/Refresh pots - timer for heals, note during setup ONE HANDED WEAPONS ONLY!
*Automatic Honor and Attack isn't implemented in this version. I will include it when I have a chance to test it further.
User settings found in the script:
; --==:: Setup ::==--
sub setup
set %delay_eoo 120 ; time in seconds for Enemy of One
set %delay_evasion 20 ; time in seconds for Evasion
set %delay_heal_pot 10 : time in seconds for heal potions
set %mana_eoo 20 ; mana level to use Enemy of One
set %mana_ls 20 ; mana level to use Lightning Strike
set %mana_curse 7 ; mana level to use Curse Weapon
set %mana_evasion 10 ; mana level to use Evasion
set %mana_divine 15 ; mana level to use Divine Fury
set %hp_pot_heal 40 ; hit point level to drink Heal
set %st_pot_stamina 60 ; stamina level to drink refresh
set %key_hotkey_honor F10 ; hotkey for Honor
set %st_df_stamina 100 ; stamina level to cast Divine Fury
set %monster_auto_honor TC_UE_PI_FD_ ; swoop, miasma, sebrix/lissith
Future: I need to add in the auto honor, some more pixel things like momentum, counter attack, etc., and of course a menu with savable settings. Some checks later on to ensure certain actions were performed would be pretty nice as well. And, whatever you guys want added to it.
Remember feedback is critical and this is a SUO script. Meaning I don't care what you do to it for improvements as long as you post your work here to share with others.
UPDATE: 03/27/2009
v2.0b - Reorganized loop to remove evil goto's
- Added auto honor and attack