hello there. Like title saying all hpconsume skills dont consume any hp. For example sacrifice will heal without consuming any HP.
The skill in data/stats/skills XML file is just fine (checked more than 100 times)...
About L2Character.java hp consume, it is fine too.
// Consume HP if necessary and Send the Server->Client packet StatusUpdate with current HP and MP to all other L2PcInstance to inform
if (skill.getHpConsume() > 0)
{
double consumeHp;
consumeHp = calcStat(Stats.HP_CONSUME_RATE, skill.getHpConsume(), null, null);
if ((consumeHp + 1) >= getCurrentHp())
{
consumeHp = getCurrentHp() - 1.0;
}
getStatus().reduceHp(consumeHp, this, true);
su.addAttribute(StatusUpdate.CUR_HP, (int) getCurrentHp());
isSendStatus = true;
}
I checked every singe line to find any problems but nothing...everything seems normal
.Any Solution or make the soulshot Toggle
somewon can help me how i can make my custom soulshot left click toggle
all works only toggle i can't manage it, 😞
thanks in advance.
I was looking for server with a low rates,eventually i found l2 elixir.I Joined beta and after so many years since 2008 i found a friend that we played together, memories came back. i cant wait for the grand oppening!. dont miss it!
Question
Milli
hello there. Like title saying all hpconsume skills dont consume any hp. For example sacrifice will heal without consuming any HP.
The skill in data/stats/skills XML file is just fine (checked more than 100 times)...
About L2Character.java hp consume, it is fine too.
// Consume HP if necessary and Send the Server->Client packet StatusUpdate with current HP and MP to all other L2PcInstance to inform if (skill.getHpConsume() > 0) { double consumeHp; consumeHp = calcStat(Stats.HP_CONSUME_RATE, skill.getHpConsume(), null, null); if ((consumeHp + 1) >= getCurrentHp()) { consumeHp = getCurrentHp() - 1.0; } getStatus().reduceHp(consumeHp, this, true); su.addAttribute(StatusUpdate.CUR_HP, (int) getCurrentHp()); isSendStatus = true; }I checked every singe line to find any problems but nothing...everything seems normal
Im working on Freya client l2jserver.
7 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now