mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 06:47:45 +00:00
15 lines
367 B
C++
15 lines
367 B
C++
![]() |
#include <Script/NativeScriptApi.h>
|
||
|
#include "../ScriptObject.h"
|
||
|
#include <Actor/Player.h>
|
||
|
|
||
|
class ActionSprint3 : public ActionScript
|
||
|
{
|
||
|
public:
|
||
|
ActionSprint3() : ActionScript( 3 )
|
||
|
{}
|
||
|
|
||
|
void onCastFinish( Core::Entity::Player& player, Core::Entity::Chara& targetActor ) override
|
||
|
{
|
||
|
player.addStatusEffectByIdIfNotExist( 50, 20000, player, 30 );
|
||
|
}
|
||
|
};
|