Shaman gifts

maximoh

Lifetime Member
Joined
Jul 14, 2008
Messages
73
Reaction score
22
Points
8
Is there any way to use the shaman gift line of spells with bot? They are detected as nukes but do not seem to fire at all for me... Is this due to my ineptitude or do they not work with bot?
 
  • Like
Reactions: EQDAB
If u are talking about the one that procs twincast that nukes your targets target it used to work
where is it showing up as?
should be under nukes and it should target your MA, then u should get a twincast buff in songwindow
is the spell loaded when u start bot?
 
  • Like
Reactions: EQDAB
Yep Nuke0=Polar Gift on startup, I never see it try to fire...

Code:
[MQ2Bot]
Debugging=0
BotVersion=20220313.1021
PulseCycle=100
BotCommandsOn=
BotCommandsOff=
AlwaysCheckAdds=0
RestrictedZones=,344,202,151,345,
BuffPassword=NULL
AuthorizedUsers=|guild|group|netbots|
CycleDelay=3
DefaultGem=1
AnnounceEcho=1
AnnounceEQBC=1
AnnounceAdds=1
AnnounceMezBreaks=1
AutoInvisDistance=0
AssistAt=99
AssistRange=100
UseManualAssist=0
AssistName=
MercAssistAt=99
MercAssistRange=35
MeleeAt=99
MeleeDistance=40
DoPetSwarm=1
PetAttackAt=99
PetAttackRange=60
RepositionIfSummoned=1
MedStartAt=90
MedStopAt=100
MedToFull=0
MedDuringCombat=0
EndMedStartAt=0
EndMedStopAt=0
EndMedToFull=0
MinManaToNuke=0
NukeToTAt=99
ManaToSummon=100
SummonModRods=1
UseModRods=1
AACutoffTime=10
AAStopAt=25
AggroAt=70
AutofireAt=0
AutofireDistance=100
DebuffAdds=1
DebuffAt=99
DebuffStopAt=10
DebuffAEAmount=3
DotAt=99
DotStopAt=5
FaceAngle=360
FadeAt=20
GrabAdds=0
GrabPrimary=0
InterruptToHealAt=60
HealAt=80
HealToTAt=80
HealSelfAt=80
HealDelayedAt=95
HealDurationAt=95
HealGroupAt=80
HealPetAt=80
ImHitAt=50
JoltAt=70
KnockbackAdds=0
KnockbackPrimary=0
LifetapAt=80
LootInCombat=0
LootWithAdds=0
LootRadius=0
ManaAt=80
NukeAt=99
RezRadius=100
RootAdds=1
RootPrimary=0
SnareAt=10
SwarmAt=99
UseAutoFire=0
UseAENukes=1
UseAura=1
UseClickyBuffs=1
UseClickyNukes=1
DebuffsSpellFirst=0
UseFightBuffs=1
UseMainTankBuffs=1
UseManaInCombat=1
UseManaOnOthers=1
UseMez=1
UsePet=1
PetReagentCheck=1
PetIllusionItem=NULL
CustomPetSpell=NULL
UsePetBuffs=1
StandOnPetAttack=0
UseSelfBuffs=1
AutoFollowLeader=1
AutoFollowSettings=30 healer
UseNetBots=0
NetBotsName=NULL
PullingDistance=0
MaxNavPathDistance=0
PullSkillRange=0
PullingMaxZ=30
PullingLOS=1
DoPulls=0
PullSkillName=
PullingFilter=1
AnnounceBehaviorChange=0
AttackCommand=/killthis
FocusClasses=|WAR|MNK|ROG|BER|CLR|DRU|SHM|RNG|BST|PAL|SHD|BRD|ENC|MAG|NEC|WIZ|
RegenClasses=|WAR|MNK|ROG|BER|CLR|DRU|SHM|RNG|BST|PAL|SHD|BRD|ENC|MAG|NEC|WIZ|
HasteClasses=|WAR|MNK|ROG|BER|CLR|DRU|SHM|RNG|BST|PAL|SHD|BRD|ENC|MAG|NEC|WIZ|
SafetyInvisOnWarp=0
SafetyCommandOnTell=
SafetyCommandOnGM=
SafetyCommandOnMyWarp=
SafetyCommandOnOthersWarp=
SafetyCommandOnTooFarFromCamp=
IgnoreTheseSkills=
|| AA1=Silent Casting
AAIf1=${Target.Slowed.ID}&&${XTarget[1].Named}
|| AA2=Fleeting Spirit
AAIf2=${Target.Slowed.ID}&&${XTarget[1].Named}
|| AA3=Spiritual Channeling
AAIf3=${Target.Slowed.ID}&&${Me.PctMana}<15
|| Debuff0=Malaise VIII
DebuffIf0=0
|| Debuff1=Turgur's Swarm V
DebuffIf1=!${Target.Buff[Turgur's Insects].ID}
|| Debuff2=Turgur's Virulent Swarm IX
DebuffIf2=${Me.XTarget}>2
|| Debuff3=Wind of Malaise V
DebuffIf3=0
|| FightBuff0=Dampen Resistance XIII
FightBuffIf0=${Target.Slowed.ID}&&${XTarget[1].Named}&&!${Me.Buff[Dampen Resistance XIII].ID}
|| FightBuff1=Focus of Arcanum VI
FightBuffIf1==${Target.Slowed.ID}&&${XTarget[1].Named}
||||Dot0=Txiki's Malosinara
DotIf0=!${Target.Buff[Brightfeld].Caster.Equal[${Me.Name}]}
||||Dot1=Lenrel's Curse
DotIf1=${Target.Slowed.ID}&&!${Target.Buff[Lenrel's Curse].ID}
||||Dot2=Chaotic Venin
DotIf2=${Target.Slowed.ID}&&!${Target.Buff[Restless Blood].ID}&&!${Target.Buff[Nectar of Misery Rk. II].ID}
|| SelfBuff1=Talisman of Celerity I
SelfBuffIf1=${If[!${Me.Buff[Talisman of Celerity I].ID} && !${Me.Buff[Symbol of Celerity].ID},1,0]}
|| SelfBuff3=Pack of Mirtuk Rk. II
SelfBuffIf3==!${Me.Buff[Pack of the Black Fang].ID}
|| SelfBuff4=Talisman of Celerity
SelfBuffIf4=0
|| SelfBuff5=Talisman of the Ry'Gorr
SelfBuffIf5=!${Me.Buff[Kromrif Focusing].ID}
|| SelfBuff6=Talisman of the Enduring
SelfBuffIf6=0
|| Buff0=Talisman of Celerity
BuffIf0=0
|| Buff1=Talisman of the Ry'Gorr
BuffIf1=!${Me.Buff[Kromrif Focusing].ID}
|| Buff2=Talisman of the Enduring
BuffIf2=0
|| Heal0=Union of Spirits
HealIf0=${Bot.MinHP.PctHPs}<70
|| Heal1=Ancestral Aid
HealIf1=${Bot.MinHP.PctHPs}<70
|| Heal2=Call of the Ancients
HealIf2=${Bot.MinHP.PctHPs}<60
|| Heal3=Soothsayer's Intervention
HealIf3=${Bot.MinHP.PctHPs}<40
|| Heal4=Reckless Renewal
HealIf4=${Bot.MinHP.PctHPs}<60
|| Heal5=Reckless Rejuvenation Rk. II
HealIf5=${Bot.MinHP.PctHPs}<60
|| Heal6=Primordial Intervention
HealIf6=${Bot.MinHP.PctHPs}<45
|| Heal7=Zrelik's Recourse
HealIf7=${Bot.MinHP.PctHPs}<45
|| Heal8=Spiritual Squall Rk. II
|| HealPet0=Companion's Aegis
HealPetIf0=${Pet.PctHPs}<70
|| HealPet1=Companion's Intervening Divine Aura
HealPetIf1=${Pet.PctHPs}<30
|| HealPet2=Reckless Rejuvenation Rk. II
HealPetIf2=${Pet.PctHPs}<70
|| HealPet3=Reckless Renewal
HealPetIf3=${Pet.PctHPs}<70
|| HealPet4=Spectre of Renewal
HealPetIf4=${Pet.PctHPs}<70
|| HealPet5=Spiritual Squall Rk. II
|| Root0=Virulent Paralysis XI
RootIf0=${Target.ID}==${XTarget[2].ID}
 
  • Like
Reactions: EQDAB
Just for shits and Grins try to do Nukeat=100
then any nuke that u do have make sure u have some conditions ie, make sure u are in combat state perhaps check if your target is the MA
using a macro I found that forcing it to try to nuke at 100 pushes the attempts of using gift to the top, otherwise the shm is pretty busy doing debuffs, healing other buffs (combat) by the time it gets to the nuke section it may have to do other stuff

Ideally it would be nice to send any gifts to the top priority after slows b4 heals (since u are trying to get the healing twincast proc) but being a plugin its hard coded
 
  • Like
Reactions: EQDAB
I tried with 100% nukes, no difference in behavior. There's no attempt to cast at all.
 
  • Sad
Reactions: EQDAB
FYI - I do not know MQ2Bot so I this is likely not going to work but ...

The shaman gift line is fairly interesting in that:

1 - You cast gift ON a player
2 - That player must have an NPC targeted.

To force MQ2Bot to use it I would set up gift as a "Heal" then try to limit when it casts based on the target.

This is some of the logic I've used. Basically it says.
1 - Make sure I'm targeting a PC and they are not in desperate need of a heal ( ie. I hopefully have time to cast a gift and not have them die )
2 - Make sure I don't already have twin cast buff
3 - Make sure my target is targeting an NPC that is damaged. Assumption is if its damaged we are not trying to keep the npc mezed.

Code:
CastIF=!${Me.Invis}&&(${Me.CombatState.Equal[COOLDOWN]}||${Me.CombatState.Equal[COMBAT]})&&${Target.Type.Equal[PC]}&&${Target.PctHPs}>59
Spell1_Name=Polar Gift
Spell1_CastIF=!${Me.Song[Healing Twincast].ID}&&${Me.TargetOfTarget.Type.Equal[NPC]}&&${Me.TargetOfTarget.PctHPs}<98
 
  • Like
Reactions: EQDAB
didnt know u could do those IF statements in bot
normally all i ever did was turn on and off
example NukeiF=0
if bot accepted conditions like that it would be a nice step to attempt to custom stuff
 
  • Like
Reactions: EQDAB
As far as I'm aware there's no option for manually setting up a heal or spell, they are detected and handled by the plugin directly, adding additional ifs to control usage is a possibility but as its not firing without any conditions I don't believe adding additional conditions will have any effect
 
  • Like
Reactions: EQDAB
If you can't add the spell directly then I'd suggest running a macro or (shiver) mq2melee shits for it.

Neither is really a good answer because you end up fighting for control.

However, if you get it to work in a macro its expandable to handling logic for emotes if that's the kind of thing you want to get into coding for.
 
I keep a sub here and a sub at redguides specifically because we dont have any macros around here any more so I use KISS from there
when that macro is working and there arent any other issues gift works more often
 
I appreciate the input, I've played with Entropy and with KISS in the past, but I still prefer the way Mq2bot functions and allows me to run macros alongside it... I've been avoiding the idea of putting the work into my own macros. Admittedly I have already put the work into having my melee controlled entirely by a custom Lua, that said I feel that melee controls are a lot lot simpler than a full automation...