mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 14:37:44 +00:00
14 lines
No EOL
328 B
C++
14 lines
No EOL
328 B
C++
#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 );
|
|
}
|
|
}; |