1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-09 12:17:45 +00:00
sapphire/src/scripts/action/playeractions/archer/ActionHeavyShot97.cpp

23 lines
541 B
C++
Raw Normal View History

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 )
{
}
void onExecute( Sapphire::Action::Action& action ) override
2019-02-10 23:28:15 +11:00
{
if( auto player = action.getSourceChara()->getAsPlayer() )
player->sendDebug( "Imagine you just hit an enemy for 150 potency. Incredible, right?" );
2019-02-10 23:28:15 +11:00
}
};
2019-02-21 00:06:10 +11:00
EXPOSE_SCRIPT( ActionHeavyShot97 );