• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

[Scripting Question] Help with creating a scrip for a semi-complicated ability

14
Posts
5
Years
  • Age 24
  • USA
  • Seen Nov 3, 2020
I need help creating a script for a new ability for my fan game.

The ability is is called spray tag, and the way it works is after the pokemon (smeargle) uses a damaging move it applies a "mark" on the opposing pokemon and it stays active for two turns. After those two turns the mark pops and deals 20% extra damage to the marked pokemon depending on how much damage the user of spray tag has inflicted during the two prior turns (including the damage from the first move that applied the mark.)
I think this a really unique ability and I really want to see it work. I'm not very good with Ruby, which is why I could use any help I can get, and I would really appreciate getting help to make this happen.
 
1,403
Posts
10
Years
  • Seen Apr 18, 2024
I think you should look at how Bide works, because that's another effect that counts how much damage has been dealt over a number of turns and then does something with it.
 
Back
Top