Jump to content

Charge Beam in 10.5


ArcanaShift

Recommended Posts

Based on experience I think the problem is that each time a pokemon uses a damaging attack, the calculations for the chances of a secondary effect are done twice. Hence charge beam sometimes raising sp. atk by 1 or 2, Acid Spray Lowering sp. def harshly twice and the chances of getting flinch are excellent from bite and headbut.

Link to post
Share on other sites

I don't know why, but my instinct is telling me that the double calculations might also be related to the HP glitch- looking at what they have in common may reveal the true culprit. Mind you, this is baseless speculation, but I can't shake the feeling that they may be related somehow.

Link to post
Share on other sites

Really? Because the message stops displaying after the third drop with acid spray (i.e the second use) and the damage increase seems consistent with it too.

Though, since I am not the programmer, the latter may well just be in my head.

One question- how does the implementation of contrary cause this?

Link to post
Share on other sites
  • Administrators

...Oh? Hm... Thanks for noticing that. I'll look into it.

So, when Contrary was added, there's a couple different steps. Firstly, the actual effect, but the follow-up to that is the message saying, X's Contrary raised its #whatever. However, we had to include a trigger to remove the message part of saying that the stat dropped, otherwise it would be like

X's Attack fell!

X's Contrary raised its Attack!

So an extra condition was scripted it that when contrary was triggered, a variable would be passed on letting the system know not to display that message. The way we had to do it, however, was kind of messy, and there was some risk of it interfering with other things. The scripter noted in the code, "if this causes problems, revert this change", so when this became a problem, at his behest, I did indeed revert the change. Which I guess now makes everything display twice? So we have to find a new solution

Link to post
Share on other sites

While you're talking about Contrary... Fern's Snivy is broken (the bad kind) because of it. His strategy with Snivy is to use Growth a lot so he destroys his own Pokemon's stats... I know most trainer Pokemon don't have set genders and skills but while it makes fighting him easier, I don't think that's the goal you were looking for.

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...