Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
nhưng sao đủ lv cất đệoOThạch SanhOo nói:double DisconnectFlag = 0.3; // Disconnect when current HP is below 30%
double hpFractionEat = 0.8; //Eat HP when current HP<= 80%
double spFractionEat = 0.8;
double hpFraction = 0.95; //Eat until current HP >= 95 %
double spFraction = 0.95;
byte DisconFai = 00; // Faith of warrior to disconnect
byte battle_count = 0;
byte myturn = 0;
byte peturn = 0;
byte pt1 = 0;
byte pt2 = 0;
byte pt3 = 0;
byte pt4 = 0;
/***** Chinh sua ID chu Party o day *****/
uint idchupt = 123456;
/*************************************/
/*********************** My Attack *************************/
public override void MyAttack()
{
myturn++;
if (myturn == 1)
{
CharacterInfo MyChar = ts.Character;
//NPCCombatObject Monster = findMonster();
ts.SendAttack(MyChar.Row, MyChar.Col, 0, 2, 17001);
}
if (myturn >=2)
{
ts.delay(1);
ts.UnSelectPartner();
}
}
/******************* My Partner Attack *********************/
public override void MyPartnerAttack()
{
peturn++;
if (peturn == 1)
{
CharacterInfo MyWarrior = ts.CurrentPartner;
//NPCCombatObject Monster = findMonster();
ts.SendAttack(MyWarrior.Row, MyWarrior.Col, 0, 2, 12003);
}
if (peturn >= 2)
{
ts.delay(1);
}
}
/********************* Battle Started **********************/
public override void BattleStarted()
{
battle_count++;
myturn = 0;
peturn = 0;
}
/********************* Battle Stoped ***********************/
public override void BattleStoped()
{
ts.SelectPartner(10012);
AutoEatFood();
ProcessInventoryAction();
CheckDisconnect();
Stop();
}
/******************* Receive Question *********************/
public override void doRecvQuestion()
{
}
/******************** Response Answer **********************/
public override void ResponseAnswer()
{
string tmp=ts.LastQuestion.Replace("=?","");
int ans=ts.Eval(tmp);
byte ans_index=Convert.ToByte(ts.LastAnswers[ans.ToString()]);
ts.Answer(ans_index);
}
/************************ On Timer *************************/
public override void OnTimer()
{
}
/************************* Start ***************************/
public override void Start()
{
debug("Request Party ..........");
ts.RequestParty(idchupt);
}
/************************** Stop ***************************/
public override void Stop()
{
debug("************************************************** **********************",255) ;
debug(" Số trận đánh : " + battle_count ,255) ;
debug(" HP của "+ts.Character.CharName+" = " + ts.Character.HP +" "+ "/" +" "+ ts.Character.MAXHP,255);
debug(" HP của "+ts.CurrentPartner.CharName +" = " + ts.CurrentPartner.HP + " "+"/" +" "+ ts.CurrentPartner.MAXHP +" "+" FAI = " + ts.CurrentPartner.fai,255);
debug(" Số con ma : " + ts.Character.ghost ,255) ;
}
/********************** Player Online **********************/
public override void PlayerOnline(uint playerid)
{
if (playerid == idchupt) {debug(idchupt + " Is Now Online, RequestParty ......");ts.delay(500);ts.RequestParty(idchupt);}
}
/************************ Init Bot *************************/
public override void InitBot()
{
ts.SetReconnectTime(3);
ts.SetMaxIdleTime(30);
ts.SetTimerOnOff(true);
AddDropItemList("tựđ uốngthuốc");
AddDropItemList("thần hành");
AddDropItemList("trụccuốn TQ");
AddDropItemList("viênongmật");
AddDropItemList("viên công kích");
AddDropItemList("Thuốc Tỉnh Não ");
AddDropItemList("ThuốcNhấtĐiểm");
AddDropItemList("Thuốc Lục Vị");
Stop();
{debug("Login Okie, Request Party .......");ts.delay(500);ts.RequestParty(idchupt);}
}
ts.SelectPartner(10012);
lam` vay. tang' duoc. 4 acc luyen lv duoc 4 acc gio tui 15x roi ma chi? choi 1 ga` 3tt (2 tt cua? 2 con kia ) ::)Free Love nói:nhưng sao đủ lv cất đệ
sao ko chay 2 gà + 1 đệ nhỉ.