Is there a way to make Dashing Cost Mp without a script??
I am in need for that since my game The Chosen One will have that implimented in it.
I am in need for that since my game The Chosen One will have that implimented in it.
True, I do see that point, I will have to look into that and try a few things :3
class Game_Player < Game_Character
alias amn_mpdash_gameplayer_dash? dash?
def dash?
return false if $game_party.leader.mp.zero?
amn_mpdash_gameplayer_dash?
end
end
class Game_Actor < Game_Battler
alias amn_mpdash_gameactor_onplayerwalk on_player_walk
def on_player_walk
amn_mpdash_gameactor_onplayerwalk
self.mp -= 1 if $game_player.dash? && self == $game_party.leader
# ^ change 1 to whatever integer you want
end
end
Thanks :3
Original thread: https://forums.rpgmakerweb.com/threads/make-dashing-cost-mp.103979/