- 8
- Posts
- 5
- Years
- Seen Oct 7, 2022
Hello, Is it possible that the grassy terrain only heals the user of the "Grassy Surge" ability ?
I think the code that needs to be modified is this one : (In the script "Battle_Phase_EndOfRound") :
I'm using version 18.1 (Sorry for my bad english is not my native language)
I think the code that needs to be modified is this one : (In the script "Battle_Phase_EndOfRound") :
It would be cool if someone could help me 😅# Grassy Terrain (healing)
if @field.terrain==PBBattleTerrains::Grassy && b.affectedByTerrain? && b.canHeal?
PBDebug.log("[Lingering effect] Grassy Terrain heals #{b.pbThis(true)}")
b.pbRecoverHP(b.totalhp/16)
pbDisplay(_INTL("{1}'s HP was restored.",b.pbThis))
end
I'm using version 18.1 (Sorry for my bad english is not my native language)