2019-02-10 23:28:15 +11:00
|
|
|
#include <Script/NativeScriptApi.h>
|
|
|
|
#include <ScriptObject.h>
|
|
|
|
#include <Actor/Player.h>
|
2019-02-10 23:53:44 +11:00
|
|
|
#include <Action/Action.h>
|
2019-02-10 23:28:15 +11:00
|
|
|
|
|
|
|
class ActionHeavyShot97 :
|
|
|
|
public Sapphire::ScriptAPI::ActionScript
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ActionHeavyShot97() :
|
|
|
|
Sapphire::ScriptAPI::ActionScript( 97 )
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2019-02-11 10:14:14 +11:00
|
|
|
void onCharaHit( Sapphire::Action::Action& currentAction, Sapphire::Entity::Chara& hitActor ) override
|
2019-02-10 23:28:15 +11:00
|
|
|
{
|
2019-02-11 10:03:36 +11:00
|
|
|
currentAction.damageTarget( 150, hitActor );
|
2019-02-10 23:28:15 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|