Rinkoou
Awful-Pun Master
- 54
- Posts
- 8
- Years
- the Internet
- Seen Jul 27, 2018
Hi, I'm trying to add different moves that can cut trees, but it doesn't seem to work. In the Cut section of PField_FieldMoves I've tried stuff like this:
and copied
behind every instense of
in this section, but it ends up crashing immediatly. Can someone help?
Code:
def Kernel.pbCut
move = getID(PBMoves,:CUT,:SLASH,:LEAFBLADE,:NIGHTSLASH)
movefinder = Kernel.pbCheckMove(move)
if !pbCheckHiddenMoveBadge(BADGEFORCUT,false) || (!$DEBUG && !movefinder)
Kernel.pbMessage(_INTL("A thorny tree blocks your way."))
return false
end
Code:
,:SLASH,:LEAFBLADE,:NIGHTSLASH
Code:
:CUT