Blizzhackers

Home of the Dupe since 2001

* Login   * Register    * FAQ    * Search

Join us on IRC: #bh@irc.synirc.net (or Mibbit Web IRC)


It is currently Mon Feb 26, 2018 2:32 am


All times are UTC [ DST ]





Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Energy Shield precast from cta
PostPosted: Wed Mar 09, 2016 12:49 am 
 
User
User

Joined: Mon Mar 20, 2006 10:39 pm
need help.
my sorc is using a staff cta with es and ca... and i want the bot to cast es and ca...
have no point skilled in es and ca... bot is not using es or ca at all. have been searching for a solution... couldnt find any.

some1 can help me with that problem?

Top
 Profile  
 Post subject: Re: Energy Shield precast from cta
PostPosted: Fri Oct 20, 2017 12:07 am 
 
User
User
User avatar

Joined: Tue Sep 16, 2014 2:23 pm
Location: Europe
i had the same problem, using a cta in a staff with 3 energy shield on it without skilling it.
search for Precast.js (d2bs\kolbot\libs\common), open it
go to line 61
if (this.BOSwitch()) {
         Skill.cast(155, 0); // Battle Command
         Skill.cast(149, 0); // Battle Orders

add this Skill.cast(58, 0); // Energy Shield under battle order or copy the following code:
if (this.BOSwitch()) {
         Skill.cast(155, 0); // Battle Command
         Skill.cast(149, 0); // Battle Orders
         Skill.cast(58, 0); // Energy Shield

i know this is a very dirty way but the other solution does not work for me.
found here
if (!me.getState(30) || force) {
            Skill.cast(58, 0); // Energy Shield

change to:
if (me.getState(30) == 0 || force) {
            Skill.cast(58, 0); // Energy Shield


let me know if there is a nicer way ;)

Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron