Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
Oh thank you! It works now. That was one of my theories, but I had no idea how to change it. I'm still a newbie so these kinds of help are appreciated, thank you. :)
After testing it and something else I can tell you: no, that isn't the problem. I did define wind moves, it just seems there is either no way for weather and terrains to boost flagged moves, or that isn't the way.
So I am once again here asking for help with windy weather because V18 changed stuff and now it doesn't work at all. The thing with it is that it doesn't power up a type but a flag of moves.
So I have this code:
when PBWeather::Wind
if move.windMove?
mults[BASE_DMG_MULT] =...
Update: with the help of WolfPP from the Discord server I got it to work, here's the proper code:
class PokeBattle_Move_219 < PokeBattle_Move
def pbBaseDamage(basedmg,attacker,opponent)
if (@battle.field.effects[PBEffects::GrassyTerrain] ||...
I'm trying to script in Terrain Pulse, but it's not working at all.
First I tried with this:
class PokeBattle_Move_219 < PokeBattle_Move
def pbBaseDamage(basedmg,attacker,opponent)
if @battle.field.effects!=0
return basedmg*2
end
return basedmg
end
def...
Hey! Since I found a lot of these moves pretty neat, I decided to program them in my game. Not all are done yet and I'll update this as I go (excluding the ones like Scorching Sands that have already existing effects), but here's what I have so far. If you have suggestions to improve any of...
Thank you very much, it works :))
(I have no way of actually testing the hail thing yet but it's not giving me any errors and I switched SPDEF with DEFENSE so it should be good)
Hello people, I'm very new to programming so I wanted some help with programming a new weather I'm planning to add to my game. It is the windy weather, which:
- makes powder-based moves ineffective
- powers up wind-based moves (I already created the flag) by 50%
And also I wanted to add a...
Hi. I'm playtesting my fangame and I noticed the message "Unknown happiness-changing method" shows up when I defeat a Pokémon, and my mons get no experience at all. Does anybody know how to fix this? I've only changed PBS files and created scripts inside maps so far, the only change I made to...