mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-09 04:07:46 +00:00
21 lines
439 B
C++
21 lines
439 B
C++
#include <Script/NativeScriptApi.h>
|
|
#include <ScriptObject.h>
|
|
#include <Actor/Player.h>
|
|
#include <Action/Action.h>
|
|
|
|
class ActionHeavyShot97 :
|
|
public Sapphire::ScriptAPI::ActionScript
|
|
{
|
|
public:
|
|
ActionHeavyShot97() :
|
|
Sapphire::ScriptAPI::ActionScript( 97 )
|
|
{
|
|
}
|
|
|
|
void onCharaHit( Sapphire::Action::Action& currentAction, Sapphire::Entity::Chara& hitActor ) override
|
|
{
|
|
currentAction.damageTarget( 150, hitActor );
|
|
}
|
|
|
|
};
|
|
|