Replies

Dec 27, 2015 10 years ago Official
The Royal
Cranberry
User Avatar
Visla

I just changed it to:

if (!(pet's current health >= pet's max health)) { variable = round(pet's current health / pet's max health] * 100); }

Fun fun.

Dec 27, 2015 10 years ago
Kevin
is all-powerful
User Avatar
Wuf

do you have variable = 51 or something above that? I have a feeling variable is not instantiated and that is why I am getting heal at full health.

I am wondering why that happened. would pet's max health be zero for bqs for some reason?

same!

Dec 27, 2015 10 years ago
cartel
is shady
User Avatar
Eightball

that was quick :D thank you for the fix!


[ forum art by [userid=519517] ]

Dec 27, 2015 10 years ago Official
The Royal
Cranberry
User Avatar
Visla

BQs are a messed-up mystery to me! And yeah, the variable wouldn't be getting instantiated now, you're right, and that's no good because the other conditions look for it. Bah.

It was fine before in normal battles, just not BQs, so I may have to get grelca to take a look!

Dec 27, 2015 10 years ago
Kevin
is all-powerful
User Avatar
Wuf

I am so glad I can put my degree to use. now if only I could get a job LOL

confusing how bqs and normal battles are different enough to have bugs in one but not the others. good luck to Grace! :P

Dec 27, 2015 10 years ago Official
The Royal
Cranberry
User Avatar
Visla

So NOW it's:

if (!(pet's current health >= pet's max health)) { variable = round(pet's current health / pet's max health] * 100); } else { variable = 51; }

That shooooould fix it...

Dec 27, 2015 10 years ago
Kevin
is all-powerful
User Avatar
Wuf

indeed that fixed it :) woohoo!

Dec 27, 2015 10 years ago
bonita
has a bad feeling about this
User Avatar
Killer Threat

So it's supposed to heal -- but not during bqs (which account for what, 95% of all use?) so it's like gelly slayer in scroll form?

I live in MN, and whatever you've heard... It's much worse.

Dec 27, 2015 10 years ago
Solsticesprite
cleans up nicely
User Avatar

As you were pushing this new code I was switching from a t12 to a t11 pet. I can't tell if this is a scaling thingy or a new code thingy. Now it seems to make it so it does no healing at all at below half hits, and also reduces the defends-ice to only one icon, so it now seriously hurts you to use it when you're hurt. Is this intentional?

I have gotten 30 defends-ice with my fastest pet at even 5900 stats, 35 defends-ice with a pet 1000 points lower, 40 defends-ice with a pet 1800 points below that and 45 defends-ice with a pet just 100 points lower.

So it gets more defensive the weaker your pet is, or the BA has been tweaking it steadily.

Dec 27, 2015 10 years ago Official
The Royal
Cranberry
User Avatar
Visla

Great! I wonder what weird magic BQs are doing to mess things up! I may have to take a look at the sickle as well and make sure it won't have the same issue.

I'm almost finished with my computer information systems program, myself... another six-week stretch where I build a final project (probably in C# because I hate Java and my instructor doesn't like it when you use PHP for the final project), and then 10 weeks of on-the-job training, and then I'm out looking for a job. Keith told me I can poke around in the code here a bit, which I probably will, but Subeta's code sounds scary. ;)

Dec 27, 2015 10 years ago
Kevin
is all-powerful
User Avatar
Wuf

it's supposed to heal when you're under 50% health :P

congrats on being almost done! oh I love java. that's the language I learned first. I don't know C# but I know C so it probably isn't a huge stretch. I wish I could find a place around here that would train me. I am a quick learner and know the basics of a lot of things. I need to finally look for a job coming up, I am getting a house so I have to start taking care of some of the bills xD real life is not fun.

Dec 27, 2015 10 years ago
Go home
Julie
you're drunk
User Avatar

YES! You've managed to find all the pieces to my bracelet! To thank you for this, I am giving you one of my very special items! [Item=The Legend of Shinwa]

Kuuipo gained: 0 level(s) 0 strength 0 defence 1 intelligence 0 health points 0 speed points


Forum Art by
Signature Art by

Dec 27, 2015 10 years ago Official
The Royal
Cranberry
User Avatar
Visla

I don't actually hate Java itself, I just hate Spring and thymeleaf with the burning fire of a thousand suns, and that's pretty much all we used in our advanced Java course!

Is the scroll working as intended now? Purge will get mad at me, but I'll just go ahead and post what it does. :P

1000-1999 speed: 60% chance of blocking 50 ice

2000-2999 speed: 70% chance of blocking 45 ice; 6% freeze chance

3000-3999 speed: 75% chance of blocking 40 ice; 8% freeze chance; 5% healing when you're below half your HP

4000-4999 speed: 80% chance of blocking 35 ice; 10% freeze chance; 7% healing when you're below half your HP

5000+ speed: 90% chance of blocking 30 ice; 13% freeze chance; 10% healing when you're below half your HP

Fun to custom code, let me tell you.

Dec 27, 2015 10 years ago
Kevin
is all-powerful
User Avatar
Wuf

I didn't use either of those xD

oh it does have a freeze chance! Awesome! thank you for the stats. so declining ice defense but increasing freeze chance? Healing is constant among the upper tiers?

Is this the best infinite use freezer or is the rate on gelaspell still better? (I'm at the 4k tier right now)

Dec 27, 2015 10 years ago
Rocketlauncher
beat the meat!
User Avatar

The unstable fairy's certainly on speed :P

You can have over 9999hp without healing penalties on the weapons. They adjusted it shortly after it's reported.

BQs still hangs when using the new Sickle. It doesn't hang with the scroll, and the conditions seems to be working.

Or I'd just compare to (pet's max health * 0.5f). Saves a division operation. Division is slow :P

Dec 27, 2015 10 years ago
Amae
dances with faeries
User Avatar
Breck

Really? Oh thank goodness. Did you know this ?

Dec 27, 2015 10 years ago
Kevin
is all-powerful
User Avatar
Wuf

I heard skull staff was changed to heal cap at 1199 at 10k+ health in defensive mode (which is what it should have been!) though I am not sure if that changes anything for me.

Dec 27, 2015 10 years ago
Amae
dances with faeries
User Avatar
Breck

It does for me I think, I think it would be so cool to have health over 10k XD.

Dec 27, 2015 10 years ago
Kevin
is all-powerful
User Avatar
Wuf

heal cap makes it boring to have more than that to me. I think I'll go for more balanced other stats. not sure if that's the right move though.

Dec 27, 2015 10 years ago Official
The Royal
Cranberry
User Avatar
Visla

Okay, I'm done playing with the unstable scroll and the sickle for now. They shouldn't actually break anything in BQs now, although they're not healing when they should (when your pet falls below 70% HP for the sickle and 50% for the scroll). They work as intended in normal battles, so I'm thinking this is a weird BQ problem. I'll get someone to look at BQs tomorrow.

Please log in to reply to this topic.