I now have a question about transpose data from a class to a another class
exemple I have this
class ap def initalize(ap)@ap = ap enddef ap(ap)@ap = 0 endendNow I wanted exemple to transport the AP to the Scene Battle saddly I don't found how to fix this
exemple I want my ap to increase with a action in the Scene Battle
EG :
class Scene_Battle def initialize @ap = Ap.ap enddef progression(ap)@ap += action_cost #this is a exemple don't take considerationenddef action_costreturn 3endend sadly i can transfert the current ap from the ap class to the scene battle ....
I hope I don't lost people....
thanks if people can help me
exemple I have this
class ap def initalize(ap)@ap = ap enddef ap(ap)@ap = 0 endendNow I wanted exemple to transport the AP to the Scene Battle saddly I don't found how to fix this
exemple I want my ap to increase with a action in the Scene Battle
EG :
class Scene_Battle def initialize @ap = Ap.ap enddef progression(ap)@ap += action_cost #this is a exemple don't take considerationenddef action_costreturn 3endend sadly i can transfert the current ap from the ap class to the scene battle ....
I hope I don't lost people....
thanks if people can help me
