2020-02-20 12:28:31 +00:00
|
|
|
#ifndef PKMNLIB_PKMNSCRIPT_HPP
|
|
|
|
#define PKMNLIB_PKMNSCRIPT_HPP
|
|
|
|
#include <CreatureLib/Battling/ScriptHandling/Script.hpp>
|
|
|
|
|
2020-04-28 12:48:56 +00:00
|
|
|
namespace PkmnLib::Battling {
|
|
|
|
class PkmnScript : public CreatureLib::Battling::Script {
|
2020-02-20 12:28:31 +00:00
|
|
|
public:
|
|
|
|
virtual void ModifyCriticalStage(CreatureLib::Battling::ExecutingAttack* attack,
|
|
|
|
CreatureLib::Battling::Creature* target, uint8_t hit, uint8_t* critStage){};
|
2020-06-05 11:49:12 +00:00
|
|
|
virtual void OverrideCriticalModifier(CreatureLib::Battling::ExecutingAttack* attack,
|
|
|
|
CreatureLib::Battling::Creature* target, uint8_t hit,
|
|
|
|
float* critModifier){};
|
|
|
|
virtual void OverrideSTABModifier(CreatureLib::Battling::ExecutingAttack* attack,
|
|
|
|
CreatureLib::Battling::Creature* target, uint8_t hit, float* stabModifier){};
|
|
|
|
|
2020-05-20 14:05:52 +00:00
|
|
|
virtual void ModifyExperienceGain(CreatureLib::Battling::Creature* faintedMon,
|
2020-05-24 11:36:45 +00:00
|
|
|
CreatureLib::Battling::Creature* winningMon, uint32_t* experienceGain){};
|
|
|
|
virtual void DoesShareExperience(CreatureLib::Battling::Creature* faintedMon,
|
|
|
|
CreatureLib::Battling::Creature* winningMon, bool* shareExperience){};
|
2020-02-20 12:28:31 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // PKMNLIB_PKMNSCRIPT_HPP
|