Relic Castle

So I'm working on a cooking script for my game, and some of the more advanced items are going to boost multiple stats (Like Attack and Speed EVs get Boosted).

I've got the items all setup for the individual stats, but I'm having trouble getting item scripts made up that would boost multiple stats, what would I have to put in this script line to make it so (for example) both Attack AND Speed are getting their EVs boosted?

ItemHandlers::UseOnPokemon.add(:SWEETTREAT,proc{|item,pokemon,scene|
if pbRaiseEffortValuesCandy(pokemon,PBStats::ATTACK)==0
scene.pbDisplay(_INTL("It won't have any effect."))
next false
else
scene.pbDisplay(_INTL("{1}'s stats increased.",pokemon.name))
pokemon.changeHappiness("vitamin")
next true
end
})

I imagine what I need to change is somewhere in the "PBStats::" line, but I'm not sure what symbol is used to combine multiple stats together, any advice?
Top