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
You shouldn't use rev 382, not sure why everyone keep using that.
I don't make changesets for fun, I don't make new revisions for nothing.
Follow the revisions.
Mustang Service — not “just another service”
▪ We don’t just redraw documents — we reverse-engineer the system’s logic. And we do it beautifully.
▪ Mustang Service is for when you need more than a quick Photoshop touch-up — you need to pass verification at the edge of the impossible.
When you’re not looking for a template, but ordering a solution for your case.
› What we deliver in practice:
→ deep redraws with no traces of editing
→ an expert approach to verification algorithms
→ guides from people who actually do it — not rehashes of someone else’s manual
▪ With us you get not just a service — you get context.
We show how the system thinks, and how to navigate it.
▪ We work with those who value results, not excuses.
If you’re not with us yet — just take a look at what we publish.
Mustang Service — done right when everything else hasn’t worked.
› TG: @mustang_service ( https:// t.me/ mustang_service )
› Channel: Mustang Service ( https:// t.me/ +6RAKokIn5ItmYjEx )
#redraw #verification #documents #graphics #photoshop #kyc #MustangService
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