Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Amunition reffil
#1
Hello,
i want to create script for paladin but i have problem with refil.
Is there any option to bot buy amunition (spear) for MAX cap - 30.??
script will go too bank, withdraw money for spear - 30 cap and than he will buy spear.
Reply
#2
Yeah, that's possible.
I'm not at home so I'm writing from my smartphone so I will tell you how to do it

I would create a manual macro like this:


CAP:=self.capacity() (creates a name for the current capacity)
CAP30:=VarSub( !CAP!, 30) (your capacity -30)
SPEARAMOUNT:=VarDiv( !CAP30!, 20) (your capacity -30 divided per 20) in case of royals put 25

Now when you use the trade features "bank withdraw" and "buy" you have to write !SPEARAMOUNT! In the amount of spears you want the bot to buy.


I repeat: Im not at home so I probably did some error, but you can try to solve it. It's good to train your scripting skills Wink

If you finally don't manage to do it I will create and test for you.
# Toni Ballador is back! #


GET EK LVL 150+ WITHOUT BUYING PREMIUM!! http://forums.bmega.net/thread-23795.html
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)