public boolean isAllowedToEnchantSkills()
{
if (isLocked())
return false;
if (isTransformed())
return false;
if (AttackStanceTaskManager.getInstance().getAttackStanceTask(this))
return false;
if (isCastingNow() || isCastingSimultaneouslyNow() || isInCombat())
return false;
if (isInBoat() || isInAirShip())
return false;
return true;
}
If the skill has cooldown to return false?
// Check if this skill is enabled (ex : reuse time)
if (isSkillDisabled(skill))
{
SystemMessage sm = null;
if (_reuseTimeStamps.containsKey(Integer.valueOf(skill.getReuseHashCode())))
{
int remainingTime = (int)(_reuseTimeStamps.get(Integer.valueOf(skill.getReuseHashCode())).getRemaining()/1000);
int hours = remainingTime / 3600;
int minutes = (remainingTime % 3600) / 60;
int seconds = (remainingTime % 60);
if (hours > 0)
{
sm = new SystemMessage(SystemMessageId.S2_HOURS_S3_MINUTES_S4_SECONDS_REMAINING_FOR_REUSE_S1);
sm.addSkillName(skill);
sm.addNumber(hours);
sm.addNumber(minutes);
}
else if (minutes > 0)
{
sm = new SystemMessage(SystemMessageId.S2_MINUTES_S3_SECONDS_REMAINING_FOR_REUSE_S1);
sm.addSkillName(skill);
sm.addNumber(minutes);
}
else
{
sm = new SystemMessage(SystemMessageId.S2_SECONDS_REMAINING_FOR_REUSE_S1);
sm.addSkillName(skill);
}
sm.addNumber(seconds);
}
else
{
sm = new SystemMessage(SystemMessageId.S1_PREPARED_FOR_REUSE);
sm.addSkillName(skill);
}
sendPacket(sm);
return false;
}
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hood-services
https://campsite.bio/utchihaamkt
So i started playing there like huge amount of us did. After hitting 30 i kinda started to feel the drag of it. And boy i just don’t have it to continue :D
I think after selling all items i have around 1.2kk in stash. I would sell it for 10€ per 100k and 100€ for entire deal. Paypal would be preferrable, unless you live in Baltics so normal bank transfer would be fine too.
You could pm me here and perhaps i could add you on facebook to take it further.
Scammers don’t try. Played this game for a long long and long time.
Question
GameBlonD
Hello,
How can i add here:
If the skill has cooldown to return false?
26 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.