Hello =) I just went into the IRC tonight looking for info. I've been workin on my personal custom update for the assassin.iss but am not sure all the skills are firing as desired. I was told by Valerian and Nuprecon that Pygar is working on an update for Assassin. I figured I share some of my notes if they could be any help.
I'm a Info Sys Analyst and have coded with php, javascript, html, VB6. I've pecked through the Example.iss, EQ2Bot.iss, and Brigand.iss to help me come up with what I have coded thus far. But I still need the assistance from the Masters.
Sooo.... My present Combat routine is as follows... I've included EQ2Echo states for debugging purposes
I'm breaking up the functions in separate posts below. The problem I think I'm having is that the spells are not queueing properly. It casts one, and while it casts another interrupts or something. wondering if I need to set the cast immediately flag in CastSpellRange to false.
I'm a Info Sys Analyst and have coded with php, javascript, html, VB6. I've pecked through the Example.iss, EQ2Bot.iss, and Brigand.iss to help me come up with what I have coded thus far. But I still need the assistance from the Masters.
Code:
;My Concept
;Stealth Attack
; Mortal Blade;Jugular Slice;Execute;Pinpoint Blade;Moon Blade
;DebuffAttack
; Mesh
;HOAttack
; Squeeze
; Bladed Opening
;PoisonAttack
; Noxious Enfeeblement
; Poisonous Bite
; Death Mark
; Poison Combination
;DoTAttack
; Gushing Wound
; Impale
; Scarring Blow
;Stun
; Cheap Shot
; Masked Strike
;If Named or Epic
; RapidStealthAttack
;Else
; Activate Stealth if not on
;StealthAttack
Code:
function Combat_Routine(int xAction)
{
AutoFollowingMA:Set[FALSE]
if ${Me.ToActor.WhoFollowing(exists)}
{
EQ2Execute /stopfollow
}
EQ2Echo CastStealthAttack > console
;EQ2Echo CastStealthAttack >> zexodata.txt
call CastStealthAttack
EQ2Echo .. > console
;EQ2Echo .. >> zexodata.txt
EQ2Echo DebuffAttack > console
;EQ2Echo DebuffAttack >> zexodata.txt
Call DebuffAttack
EQ2Echo .. > console
;EQ2Echo .. >> zexodata.txt
EQ2Echo PoisonAttack > console
;EQ2Echo PoisonAttack >> zexodata.txt
Call PoisonAttack
EQ2Echo .. > console
;EQ2Echo .. >> zexodata.txt
EQ2Echo DoTAttack > console
;EQ2Echo DoTAttack >> zexodata.txt
Call DoTAttack
EQ2Echo .. > console
;EQ2Echo .. >> zexodata.txt
EQ2Echo StunAttack > console
;EQ2Echo StunAttack >> zexodata.txt
Call StunAttack
EQ2Echo .. > console
;EQ2Echo .. >> zexodata.txt
if ${Actor[${KillTarget}].IsNamed}
{
call RapidStealthAttack
}
else
{
if !${Me.ToActor.IsStealthed}
{
if ${Me.Ability[Spy].IsReady}
{
Target ${KillTarget}
EQ2Echo Casting Spy > console
;EQ2Echo Casting Spy >> zexodata.txt
Me.Ability[Spy]:Use
}
elseif ${Me.Ability[Stealth].IsReady}
{
Target ${KillTarget}
EQ2Echo Casting Stealth > console
;EQ2Echo Casting Stealth >> zexodata.txt
Me.Ability[Stealth]:Use
}
}
}
EQ2Echo CastStealthAttack > console
;EQ2Echo CastStealthAttack >> zexodata.txt
call CastStealthAttack
EQ2Echo .. > console
;EQ2Echo .. >> zexodata.txt
}
Last edited: