Blizzard Sector
D2NT Sorceress Not Casting BO - Printable Version

+- Blizzard Sector (https://www.blizzsector.co)
+-- Forum: Diablo II (https://www.blizzsector.co/forum-4.html)
+--- Forum: Hacks Bots and Editors (https://www.blizzsector.co/forum-16.html)
+--- Thread: D2NT Sorceress Not Casting BO (/thread-47177.html)



D2NT Sorceress Not Casting BO - brettesman - 03-19-2011

So I have trolled the threads to find a solution to this problem and can't seem to find one. My sorceress runs everything fine (I've kept her in nightmare because she won't case battle orders). Her first script is Pindle and she will enter the portal, pause for about 5 seconds, then cast energy shield and chilling armor then continue to pindleskin.
IF I switch her weapons for her she will bo instantly then continue her run without switching weapons back. I have not tampered with any of the precast scripts but I have posted it below so someone can take a look. It seems like the issue is somewhere in the "switch weapon" area of the script because she will BO herself if I switch the weapons for her. Any help would be greatly appreciated.


var _NTP_HaveCTA = -1;

function NTP_DoPrecastCTA(refresh)
{
if(me.classid == NTC_CHAR_CLASS_BARBARIAN || NTC_InTown())
return false;

if(refresh || !me.GetState(32) || !me.GetState(51))
{
if(NTP_BOSwitch())
{
NTC_CastSkill(155, NTC_HAND_RIGHT); // Battle Command
NTC_CastSkill(149, NTC_HAND_RIGHT); // Battle Orders

NTC_SwapWeapons();

return true;
}
}

return false;
}

function NTP_DoPrecast(refresh)
{
NTP_DoPrecastCTA(refresh);

switch(me.classid)
{
case NTC_CHAR_CLASS_AMAZON:
if(refresh)
NTC_CastSkill(32, NTC_HAND_RIGHT); // Valkyrie
break;

case NTC_CHAR_CLASS_SORCERESS:
if(refresh || !me.GetState(38))
NTC_CastSkill(57, NTC_HAND_RIGHT); // Thunder Storm

if(refresh || !me.GetState(30))
NTC_CastSkill(58, NTC_HAND_RIGHT); // Energy Shield

if(refresh || (!me.GetState(10) && !me.GetState(88) && !me.GetState(20)))
{
if(!NTC_CastSkill(50, NTC_HAND_RIGHT)) // Shiver Armor
if(!NTC_CastSkill(60, NTC_HAND_RIGHT)) // Chilling Armor
NTC_CastSkill(40, NTC_HAND_RIGHT); // Frozen Armor
}
break;

case NTC_CHAR_CLASS_NECROMANCER:
if(refresh || !me.GetState(14))
NTC_CastSkill(68, NTC_HAND_RIGHT); // Bone Armor

if(refresh)
{
if(!NTC_CastSkill(94, NTC_HAND_RIGHT)) // Fire Golem
if(!NTC_CastSkill(85, NTC_HAND_RIGHT)) // Blood Golem
NTC_CastSkill(75, NTC_HAND_RIGHT); // Clay Golem
}
break;

case NTC_CHAR_CLASS_PALADIN:
if(refresh || !me.GetState(101))
NTC_CastSkill(117, NTC_HAND_RIGHT); // Holy Shield
break;

case NTC_CHAR_CLASS_BARBARIAN:
if(refresh || !me.GetState(51))
NTC_CastSkill(155, NTC_HAND_RIGHT); // Battle Command

if(refresh || !me.GetState(32))
NTC_CastSkill(149, NTC_HAND_RIGHT); // Battle Orders

if(refresh || !me.GetState(26))
NTC_CastSkill(138, NTC_HAND_RIGHT); // Shout
break;

case NTC_CHAR_CLASS_DRUID:
if(refresh || !me.GetState(151))
NTC_CastSkill(235, NTC_HAND_RIGHT); // Cyclone Armor

if(refresh || !me.GetState(149))
NTC_CastSkill(226, NTC_HAND_RIGHT); // Oak Sage

if(refresh)
NTC_CastSkill(247, NTC_HAND_RIGHT); // Summon Grizzly

if(refresh || !me.GetState(144))
NTC_CastSkill(250, NTC_HAND_RIGHT); // Hurricane
break;

case NTC_CHAR_CLASS_ASSASSIN:
// Can't use both Fade and BoS
//if(refresh || !me.GetState(157))
// NTC_CastSkill(258, NTC_HAND_RIGHT); // Burst of Speed
if(refresh || !me.GetState(159))
NTC_CastSkill(267, NTC_HAND_RIGHT); // Fade

if(refresh || !me.GetState(158))
NTC_CastSkill(277, NTC_HAND_RIGHT); // Blade Shield

if(refresh || !me.GetState(153))
NTC_CastSkill(264, NTC_HAND_RIGHT); // Cloak of Shadows

if(refresh)
{
if(!NTC_CastSkill(279, NTC_HAND_RIGHT)) // Shadow Master
NTC_CastSkill(268, NTC_HAND_RIGHT); // Shadow Warrior
}
break;
}
}

function NTP_BOSwitch()
{
if(_NTP_HaveCTA < 0)
{
var _weapon;

_NTP_HaveCTA = 0;

_weapon = me.GetItems();

if(_weapon)
{
for(var i = 0 ; i < _weapon.length ; i++)
{
if(_weapon[i].mode == 1 && (_weapon[i].itemflag&0x4000000) && _weapon[i].itemprefix == 0x5027)
{
if(_weapon[i].itemloc == 4 || _weapon[i].itemloc == 5)
_NTP_HaveCTA = 1;
else
_NTP_HaveCTA = 2;

break;
}
}
}
}

if(_NTP_HaveCTA > 0)
return NTC_SwapWeapons(_NTP_HaveCTA-1);

return false;
}


D2NT Sorceress Not Casting BO - superchil8 - 03-19-2011

is your cta in wepon slot 1 or 2??? idk if this really matters and make sure its in her right hand(left side on your screen)


D2NT Sorceress Not Casting BO - brettesman - 03-19-2011

superchil8 Wrote:is your cta in wepon slot 1 or 2??? idk if this really matters and make sure its in her right hand(left side on your screen)

I always have my CTA in weapon slot 2, and I tried the CTA in both hands and neither of them worked.


D2NT Sorceress Not Casting BO - Valdez - 03-19-2011

Have you tried switching weapon sides? I do believe sorceress' must have CTA in Weapon Tab I.


D2NT Sorceress Not Casting BO - brettesman - 03-19-2011

Valdez Wrote:Have you tried switching weapon sides? I do believe sorceress' must have CTA in Weapon Tab I.

I just tried that and it did not work either...


D2NT Sorceress Not Casting BO - Valdez - 03-19-2011

brettesman Wrote:I just tried that and it did not work either...

I'm at a loss then, sorry bro. I do think there was an older post similar to this though. I will try and find it in the morning.


D2NT Sorceress Not Casting BO - flash3 - 08-19-2011

having same problem did you happen to figure it out?? Mine is with my hammer pally

Edit: Solved the problem. You must have customized your key configuration like me. Make all keys default again and it works jsut fine


D2NT Sorceress Not Casting BO - bugme143 - 08-20-2011

flash3 Wrote:Edit: Solved the problem. You must have customized your key configuration like me. Make all keys default again and it works jsut fine

this