mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 14:07:46 +00:00
15 lines
No EOL
343 B
C++
15 lines
No EOL
343 B
C++
#include "../ScriptObject.h"
|
|
|
|
class Action3 : public ActionScript
|
|
{
|
|
public:
|
|
Action3() : ActionScript( "ActionScript3", 3 )
|
|
{}
|
|
|
|
virtual void onCastFinish( Core::Entity::Player& player, Core::Entity::ActorPtr targetActor )
|
|
{
|
|
player.addStatusEffectByIdIfNotExist( 50, 20000, player, 30 );
|
|
}
|
|
};
|
|
|
|
EXPORT_ACTIONSCRIPT( Action3 ) |