- 11
- Posts
- 6
- Years
- Seen May 19, 2019
Hi, I'm trying to add Silvally to my essentials game, but instead of using its canon ability, im trying to give it multitype so it can use plates.
as of now, Silvally works fine and even changes color when it's holding a plate, but does not change type. I'm testing it using a pidgey that knows tackle and right now that pidgey can damage silvally while they are holding the ghost plate.
code in pokebattle_battler after arceus in def pbCheckForm
as of now, Silvally works fine and even changes color when it's holding a plate, but does not change type. I'm testing it using a pidgey that knows tackle and right now that pidgey can damage silvally while they are holding the ghost plate.
code in pokebattle_battler after arceus in def pbCheckForm
# Silvally
if isConst?(self.ability,PBAbilities,:MULTITYPE) &&
isConst?(self.species,PBSpecies,:SILVALLY)
if [email protected]
[email protected]
transformed=true
end
end
in pokemon forms, again after arceus's entry
MultipleForms.register(:SILVALLY,{
"getForm"=>proc{|pokemon|
next 1 if isConst?(pokemon.item,PBItems,:FISTPLATE)
next 2 if isConst?(pokemon.item,PBItems,:SKYPLATE)
next 3 if isConst?(pokemon.item,PBItems,:TOXICPLATE)
next 4 if isConst?(pokemon.item,PBItems,:EARTHPLATE)
next 5 if isConst?(pokemon.item,PBItems,:STONEPLATE)
next 6 if isConst?(pokemon.item,PBItems,:INSECTPLATE)
next 7 if isConst?(pokemon.item,PBItems,:SPOOKYPLATE)
next 8 if isConst?(pokemon.item,PBItems,:IRONPLATE)
next 10 if isConst?(pokemon.item,PBItems,:FLAMEPLATE)
next 11 if isConst?(pokemon.item,PBItems,:SPLASHPLATE)
next 12 if isConst?(pokemon.item,PBItems,:MEADOWPLATE)
next 13 if isConst?(pokemon.item,PBItems,:ZAPPLATE)
next 14 if isConst?(pokemon.item,PBItems,:MINDPLATE)
next 15 if isConst?(pokemon.item,PBItems,:ICICLEPLATE)
next 16 if isConst?(pokemon.item,PBItems,:DRACOPLATE)
next 17 if isConst?(pokemon.item,PBItems,:DREADPLATE)
next 18 if isConst?(pokemon.item,PBItems,:PIXIEPLATE)
next 0
}
})