mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-24 13:47:46 +00:00
15 lines
343 B
C++
15 lines
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 )
|