mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 15:17:46 +00:00
15 lines
No EOL
367 B
C++
15 lines
No EOL
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 );
|
|
}
|
|
}; |