diff --git a/scripts/native/skill/AbilityScript3.cpp b/scripts/native/skill/AbilityScript3.cpp index 62b1b2d3..c6e4e987 100644 --- a/scripts/native/skill/AbilityScript3.cpp +++ b/scripts/native/skill/AbilityScript3.cpp @@ -1,9 +1,9 @@ //#include "../ScriptObject.h" // -//class AbilityScript3 : public AbilityScript +//class ActionScript3 : public ActionScript //{ //public: -// AbilityScript3() : AbilityScript( "AbilityScript3", 3 ) +// ActionScript3() : ActionScript( "AbilityScript3", 3 ) // {} // // virtual void onCastFinish( Core::Entity::Player player, Core::Entity::ActorPtr targetActor ) @@ -12,4 +12,4 @@ // } //}; // -//EXPORT_ABILITYSCRIPT( AbilityScript3 ) \ No newline at end of file +//EXPORT_ACTIONSCRIPT( ActionScript3 ) \ No newline at end of file diff --git a/src/servers/Server_Zone/Script/NativeScriptApi.h b/src/servers/Server_Zone/Script/NativeScriptApi.h index aa23d223..8b53e5fe 100644 --- a/src/servers/Server_Zone/Script/NativeScriptApi.h +++ b/src/servers/Server_Zone/Script/NativeScriptApi.h @@ -17,7 +17,7 @@ extern "C" EXPORT base* get##base() \ { return static_cast< base* >( new type ); } #define EXPORT_STATUSEFFECTSCRIPT( type ) EXPORT_SCRIPTOBJECT( type, StatusEffectScript ) -#define EXPORT_ABILITYSCRIPT( type ) EXPORT_SCRIPTOBJECT( type, AbilityScript ) +#define EXPORT_ACTIONSCRIPT( type ) EXPORT_SCRIPTOBJECT( type, ActionScript ) #define EXPORT_QUESTSCRIPT( type ) EXPORT_SCRIPTOBJECT( type, QuestScript ) #define EXPORT_BATTLENPCSCRIPT( type ) EXPORT_SCRIPTOBJECT( type, BattleNpcScript ) #define EXPORT_ZONESCRIPT( type ) EXPORT_SCRIPTOBJECT( type, ZoneScript )