Skip to content

Commit

Permalink
Merge 4ebc5da into c76feca
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoBorzi committed Dec 1, 2019
2 parents c76feca + 4ebc5da commit b0ef739
Show file tree
Hide file tree
Showing 8 changed files with 89 additions and 82 deletions.
Expand Up @@ -157,8 +157,23 @@ export enum SAI_ACTIONS {
RANDOM_MUSIC = 217,
}
export const SAI_ACTIONS_KEYS = getEnumKeys(SAI_ACTIONS);

export const SAI_ACTION_TOOLTIPS = [];
export const SAI_ACTION_PARAM1_NAMES = [];
export const SAI_ACTION_PARAM2_NAMES = [];
export const SAI_ACTION_PARAM3_NAMES = [];
export const SAI_ACTION_PARAM4_NAMES = [];
export const SAI_ACTION_PARAM5_NAMES = [];
export const SAI_ACTION_PARAM6_NAMES = [];
export const SAI_ACTION_PARAM1_TOOLTIPS = [];
export const SAI_ACTION_PARAM2_TOOLTIPS = [];
export const SAI_ACTION_PARAM3_TOOLTIPS = [];
export const SAI_ACTION_PARAM4_TOOLTIPS = [];
export const SAI_ACTION_PARAM5_TOOLTIPS = [];
export const SAI_ACTION_PARAM6_TOOLTIPS = [];

/*** Keira2 imports ***/
// TODO: check the values below and move them above

SAI_ACTION_TOOLTIPS[SAI_ACTIONS.NONE] = 'No action type is specified. Do not use because it will cause errors on start-up.';
SAI_ACTION_TOOLTIPS[SAI_ACTIONS.TALK] = 'Creature says a creature_text line';
SAI_ACTION_TOOLTIPS[SAI_ACTIONS.SET_FACTION] = 'Set faction of target';
Expand Down Expand Up @@ -299,7 +314,6 @@ SAI_ACTION_TOOLTIPS[SAI_ACTIONS.LOAD_GRID] = 'LOAD_GRID'; // TODO
SAI_ACTION_TOOLTIPS[SAI_ACTIONS.MUSIC] = 'MUSIC'; // TODO
SAI_ACTION_TOOLTIPS[SAI_ACTIONS.RANDOM_MUSIC] = 'RANDOM_MUSIC'; // TODO

export const SAI_ACTION_PARAM1_NAMES = [];
SAI_ACTION_PARAM1_NAMES[SAI_ACTIONS.TALK] = 'GroupId';
SAI_ACTION_PARAM1_NAMES[SAI_ACTIONS.SET_FACTION] = 'FactionId';
SAI_ACTION_PARAM1_NAMES[SAI_ACTIONS.MORPH_TO_ENTRY_OR_MODEL] = 'Creature entry';
Expand Down Expand Up @@ -413,9 +427,7 @@ SAI_ACTION_PARAM1_NAMES[SAI_ACTIONS.REMOVE_POWER] = 'Power type';
SAI_ACTION_PARAM1_NAMES[SAI_ACTIONS.GAME_EVENT_STOP] = 'Id of the event';
SAI_ACTION_PARAM1_NAMES[SAI_ACTIONS.GAME_EVENT_START] = 'Id of the event';
SAI_ACTION_PARAM1_NAMES[SAI_ACTIONS.START_CLOSEST_WAYPOINT] = 'Waypoint 1';
// TODO: add missing values

export const SAI_ACTION_PARAM2_NAMES = [];
SAI_ACTION_PARAM2_NAMES[SAI_ACTIONS.TALK] = 'Duration';
SAI_ACTION_PARAM2_NAMES[SAI_ACTIONS.MORPH_TO_ENTRY_OR_MODEL] = 'Creature model';
SAI_ACTION_PARAM2_NAMES[SAI_ACTIONS.SOUND] = 'Only to self (0/1)';
Expand Down Expand Up @@ -463,9 +475,7 @@ SAI_ACTION_PARAM2_NAMES[SAI_ACTIONS.SET_POWER] = 'Power value';
SAI_ACTION_PARAM2_NAMES[SAI_ACTIONS.ADD_POWER] = 'Power value';
SAI_ACTION_PARAM2_NAMES[SAI_ACTIONS.REMOVE_POWER] = 'Power value';
SAI_ACTION_PARAM2_NAMES[SAI_ACTIONS.START_CLOSEST_WAYPOINT] = 'Waypoint 2';
// TODO: add missing values

export const SAI_ACTION_PARAM3_NAMES = [];
SAI_ACTION_PARAM3_NAMES[SAI_ACTIONS.RANDOM_EMOTE] = 'Emote id 3';
SAI_ACTION_PARAM3_NAMES[SAI_ACTIONS.SUMMON_CREATURE] = 'Duration (milliseconds)';
SAI_ACTION_PARAM3_NAMES[SAI_ACTIONS.FOLLOW] = 'End creature entry';
Expand All @@ -478,9 +488,7 @@ SAI_ACTION_PARAM3_NAMES[SAI_ACTIONS.CROSS_CAST] = 'Target type of caster';
SAI_ACTION_PARAM3_NAMES[SAI_ACTIONS.CALL_RANDOM_TIMED_ACTIONLIST] = 'Script entry 3';
SAI_ACTION_PARAM3_NAMES[SAI_ACTIONS.INTERRUPT_SPELL] = 'Instant (0/1)';
SAI_ACTION_PARAM3_NAMES[SAI_ACTIONS.START_CLOSEST_WAYPOINT] = 'Waypoint 3';
// TODO: add missing values

export const SAI_ACTION_PARAM4_NAMES = [];
SAI_ACTION_PARAM4_NAMES[SAI_ACTIONS.RANDOM_EMOTE] = 'Emote id 4';
SAI_ACTION_PARAM4_NAMES[SAI_ACTIONS.SUMMON_CREATURE] = 'Attack invoker (0/1)';
SAI_ACTION_PARAM4_NAMES[SAI_ACTIONS.FOLLOW] = 'Credit creature entry';
Expand All @@ -491,9 +499,7 @@ SAI_ACTION_PARAM4_NAMES[SAI_ACTIONS.EQUIP] = 'Item entry 2';
SAI_ACTION_PARAM4_NAMES[SAI_ACTIONS.CROSS_CAST] = 'Target parameter 1 of caster';
SAI_ACTION_PARAM4_NAMES[SAI_ACTIONS.CALL_RANDOM_TIMED_ACTIONLIST] = 'Script entry 4';
SAI_ACTION_PARAM4_NAMES[SAI_ACTIONS.START_CLOSEST_WAYPOINT] = 'Waypoint 4';
// TODO: add missing values

export const SAI_ACTION_PARAM5_NAMES = [];
SAI_ACTION_PARAM5_NAMES[SAI_ACTIONS.RANDOM_EMOTE] = 'Emote id 5';
SAI_ACTION_PARAM5_NAMES[SAI_ACTIONS.FOLLOW] = 'Credit type (0 / 1)';
SAI_ACTION_PARAM5_NAMES[SAI_ACTIONS.RANDOM_PHASE] = 'Phasemask 5';
Expand All @@ -503,19 +509,15 @@ SAI_ACTION_PARAM5_NAMES[SAI_ACTIONS.EQUIP] = 'Item entry 3';
SAI_ACTION_PARAM5_NAMES[SAI_ACTIONS.CROSS_CAST] = 'Target parameter 2 of caster';
SAI_ACTION_PARAM5_NAMES[SAI_ACTIONS.CALL_RANDOM_TIMED_ACTIONLIST] = 'Script entry 5';
SAI_ACTION_PARAM5_NAMES[SAI_ACTIONS.START_CLOSEST_WAYPOINT] = 'Waypoint 5';
// TODO: add missing values

export const SAI_ACTION_PARAM6_NAMES = [];
SAI_ACTION_PARAM6_NAMES[SAI_ACTIONS.RANDOM_EMOTE] = 'Emote id 6';
SAI_ACTION_PARAM6_NAMES[SAI_ACTIONS.RANDOM_PHASE] = 'Phasemask 6';
SAI_ACTION_PARAM6_NAMES[SAI_ACTIONS.WP_START] = 'Reactstate';
SAI_ACTION_PARAM6_NAMES[SAI_ACTIONS.CREATE_TIMED_EVENT] = 'Chance';
SAI_ACTION_PARAM6_NAMES[SAI_ACTIONS.CROSS_CAST] = 'Target parameter 3 of caster';
SAI_ACTION_PARAM6_NAMES[SAI_ACTIONS.CALL_RANDOM_TIMED_ACTIONLIST] = 'Script entry 6';
SAI_ACTION_PARAM6_NAMES[SAI_ACTIONS.START_CLOSEST_WAYPOINT] = 'Waypoint 6';
// TODO: add missing values

export const SAI_ACTION_PARAM1_TOOLTIPS = [];
SAI_ACTION_PARAM1_TOOLTIPS[SAI_ACTIONS.TALK] = 'creature_text.groupid';
SAI_ACTION_PARAM1_TOOLTIPS[SAI_ACTIONS.AUTO_ATTACK] = 'If set to 0 it means the creature will stop attacking its current target. Otherwise it starts / continues to attack its target.';
SAI_ACTION_PARAM1_TOOLTIPS[SAI_ACTIONS.ALLOW_COMBAT_MOVEMENT] = 'If set to 0 it means the creature is no longer able to move AT ALL during combat. If set to 1 it means it\'s allowed to normally walk during combat.';
Expand All @@ -528,9 +530,7 @@ SAI_ACTION_PARAM1_TOOLTIPS[SAI_ACTIONS.WP_STOP] = 'Time in milliseconds after w
SAI_ACTION_PARAM1_TOOLTIPS[SAI_ACTIONS.MOVE_TO_POS] = 'If set to a value, SMART_EVENT_MOVEMENTINFORM will be called with this number when the unit finished moving to this position.';
SAI_ACTION_PARAM1_TOOLTIPS[SAI_ACTIONS.EQUIP] = 'Entry of creature_equip_template. If left at 0, either parameter 3, 4 or 5 (or all, or just two) must be filled in with item entries to equip.';
SAI_ACTION_PARAM1_TOOLTIPS[SAI_ACTIONS.SUMMON_CREATURE_GROUP] = 'Group id column in the creature_summon_groups table (world database).';
// TODO: add missing values

export const SAI_ACTION_PARAM2_TOOLTIPS = [];
SAI_ACTION_PARAM2_TOOLTIPS[SAI_ACTIONS.TALK] = 'Duration to wait before SMART_EVENT_TEXT_OVER event is triggered';
SAI_ACTION_PARAM2_TOOLTIPS[SAI_ACTIONS.SOUND] = 'If 0, everybody within the visibility range will hear the sound';
SAI_ACTION_PARAM2_TOOLTIPS[SAI_ACTIONS.SET_UNIT_FLAG] = 'Determines which unit flag to target; if 0, it targets the default unit flags which is creature_template.unit_flags. If set to 1 or higher, it targets creature_template.unit_flags2 (notice the \'2\') which has different values.';
Expand All @@ -545,31 +545,23 @@ SAI_ACTION_PARAM2_TOOLTIPS[SAI_ACTIONS.SET_UNIT_FIELD_BYTES_1] = 'If set to 0, i
SAI_ACTION_PARAM2_TOOLTIPS[SAI_ACTIONS.REMOVE_UNIT_FIELD_BYTES_1] = 'If set to 0, it targets the stand states (stand/sit/sleep/etc.). If set to 1, it targets something talent-related for pets (don\'t use). If set to 2, it targets the stand flags (creep/untrackable/etc.) and if set to 3 it targets the stand misc. flags (hover/always-stand/etc.).';
SAI_ACTION_PARAM2_TOOLTIPS[SAI_ACTIONS.INTERRUPT_SPELL] = 'If left at 0, the core will interrupt the currently being cast spell (based on the with-delay and instant parameters, of course)';
SAI_ACTION_PARAM2_TOOLTIPS[SAI_ACTIONS.SEND_GOSSIP_MENU] = 'Uses the `id` value from the `npc_text` table in the world database';
// TODO: add missing values

export const SAI_ACTION_PARAM3_TOOLTIPS = [];
SAI_ACTION_PARAM3_TOOLTIPS[SAI_ACTIONS.SUMMON_CREATURE] = 'Duration the creature will be summoned (in milliseconds).';
SAI_ACTION_PARAM3_TOOLTIPS[SAI_ACTIONS.FOLLOW] = 'Default is 0. If it\'s not 0 it means the follow will finish ONLY once the creature is within interaction distance (5 yards) of the given entry.';
SAI_ACTION_PARAM3_TOOLTIPS[SAI_ACTIONS.WP_START] = 'Repeat the path when the it\'s finished.';
SAI_ACTION_PARAM3_TOOLTIPS[SAI_ACTIONS.WP_STOP] = 'If set to 1, we will mark the quest in parameter 2 to failed for our player targets.';
SAI_ACTION_PARAM3_TOOLTIPS[SAI_ACTIONS.EQUIP] = 'Item entry one (main hand slot) (only has use if the first parameter is 0)';
// TODO: add missing values

export const SAI_ACTION_PARAM4_TOOLTIPS = [];
SAI_ACTION_PARAM4_TOOLTIPS[SAI_ACTIONS.SUMMON_CREATURE] = 'Identicator whether or not the summoned creature should attack the action invoker (SMART_TARGET_ACTION_INVOKER) when it\'s summoned. 0 means it won\'t, 1 means it will attack.';
SAI_ACTION_PARAM4_TOOLTIPS[SAI_ACTIONS.FOLLOW] = 'The creature id that will be given as a quest credit when the follow has finished for whatever reason.';
SAI_ACTION_PARAM4_TOOLTIPS[SAI_ACTIONS.WP_START] = 'Quest entry to give credit for once the path has finished. Will use the target type and take all player entities from this list.';
SAI_ACTION_PARAM4_TOOLTIPS[SAI_ACTIONS.CREATE_TIMED_EVENT] = 'Only set this if the event repeats.';
SAI_ACTION_PARAM4_TOOLTIPS[SAI_ACTIONS.EQUIP] = 'Item entry two (off hand slot) (only has use if the first parameter is 0)';
// TODO: add missing values

export const SAI_ACTION_PARAM5_TOOLTIPS = [];
SAI_ACTION_PARAM5_TOOLTIPS[SAI_ACTIONS.FOLLOW] = 'Requires the 4th parameter to be set and valid; determines whether the entry in parameter 4 is a monster kill or event happening. If you\'re not sure what they mean, read the quest_template wiki.';
SAI_ACTION_PARAM5_TOOLTIPS[SAI_ACTIONS.WP_START] = 'Time in milliseconds to wait after the path ended before we despawn.';
SAI_ACTION_PARAM5_TOOLTIPS[SAI_ACTIONS.CREATE_TIMED_EVENT] = 'Only set this if the event repeats.';
SAI_ACTION_PARAM5_TOOLTIPS[SAI_ACTIONS.EQUIP] = 'Item entry three (gun/bow/etc. slot) (only has use if the first parameter is 0)';
// TODO: add missing values

export const SAI_ACTION_PARAM6_TOOLTIPS = [];
SAI_ACTION_PARAM6_TOOLTIPS[SAI_ACTIONS.WP_START] = 'Reactstate that is set when the waypoint starts.';
// TODO: add missing values

Expand Up @@ -80,9 +80,20 @@ export enum SAI_EVENTS {
DISTANCE_GAMEOBJECT = 76,
COUNTER_SET = 77,
}

export const SAI_EVENTS_KEYS = getEnumKeys(SAI_EVENTS);
export const SAI_EVENT_TOOLTIPS = [];
export const SAI_EVENT_PARAM1_NAMES = [];
export const SAI_EVENT_PARAM2_NAMES = [];
export const SAI_EVENT_PARAM3_NAMES = [];
export const SAI_EVENT_PARAM4_NAMES = [];
export const SAI_EVENT_PARAM1_TOOLTIPS = [];
export const SAI_EVENT_PARAM2_TOOLTIPS = [];
export const SAI_EVENT_PARAM3_TOOLTIPS = [];
export const SAI_EVENT_PARAM4_TOOLTIPS = [];

/*** Keira2 imports ***/
// TODO: check the values below and move them above

SAI_EVENT_TOOLTIPS[SAI_EVENTS.UPDATE_IC] = 'While in combat. Parameters represent a timer: 1000,2000,4000,4000 will call this event_type randomly between 1 and 2 seconds and repeat this every 4 seconds';
SAI_EVENT_TOOLTIPS[SAI_EVENTS.UPDATE_OOC] = 'While out of combat. Parameters represent a timer: 1000,2000,4000,4000 will call this event_type randomly between 1 and 2 seconds and repeat this every 4 seconds';
SAI_EVENT_TOOLTIPS[SAI_EVENTS.HEALTH_PCT] = 'At health percentage. First and second parameters function as min-max health percentage values, so if they are 50,80, the event will be called when the source is between 50% and 80% health. The last two parameters are repeat timers in milliseconds.';
Expand Down Expand Up @@ -160,9 +171,7 @@ SAI_EVENT_TOOLTIPS[SAI_EVENTS.FRIENDLY_HEALTH_PCT] = 'When a friendly unit withi
SAI_EVENT_TOOLTIPS[SAI_EVENTS.DISTANCE_CREATURE] = 'Event triggered when a creature with a specific guid or entry coems within a given distance (in yards) of the source.';
SAI_EVENT_TOOLTIPS[SAI_EVENTS.DISTANCE_GAMEOBJECT] = 'Event triggered when a gameobject with a specific guid or entry coems within a given distance (in yards) of the source.';
SAI_EVENT_TOOLTIPS[SAI_EVENTS.COUNTER_SET] = 'If the value of specified counterID (param1) is equal to a specified value';
// TODO: add missing values

export const SAI_EVENT_PARAM1_NAMES = [];
SAI_EVENT_PARAM1_NAMES[SAI_EVENTS.UPDATE_IC] = 'InitialMin';
SAI_EVENT_PARAM1_NAMES[SAI_EVENTS.UPDATE_OOC] = 'InitialMin';
SAI_EVENT_PARAM1_NAMES[SAI_EVENTS.HEALTH_PCT] = 'Min health pct';
Expand Down Expand Up @@ -212,9 +221,7 @@ SAI_EVENT_PARAM1_NAMES[SAI_EVENTS.ACTION_DONE] = 'Action id';
SAI_EVENT_PARAM1_NAMES[SAI_EVENTS.FRIENDLY_HEALTH_PCT] = 'Health pct min';
SAI_EVENT_PARAM1_NAMES[SAI_EVENTS.DISTANCE_CREATURE] = 'Guid';
SAI_EVENT_PARAM1_NAMES[SAI_EVENTS.DISTANCE_GAMEOBJECT] = 'Guid';
// TODO: add missing values

export const SAI_EVENT_PARAM2_NAMES = [];
SAI_EVENT_PARAM2_NAMES[SAI_EVENTS.UPDATE_IC] = 'InitialMax';
SAI_EVENT_PARAM2_NAMES[SAI_EVENTS.UPDATE_OOC] = 'InitialMax';
SAI_EVENT_PARAM2_NAMES[SAI_EVENTS.HEALTH_PCT] = 'Max health pct';
Expand Down Expand Up @@ -255,9 +262,7 @@ SAI_EVENT_PARAM2_NAMES[SAI_EVENTS.IS_BEHIND_TARGET] = 'CooldownMax';
SAI_EVENT_PARAM2_NAMES[SAI_EVENTS.FRIENDLY_HEALTH_PCT] = 'Health pct max';
SAI_EVENT_PARAM2_NAMES[SAI_EVENTS.DISTANCE_CREATURE] = 'Entry';
SAI_EVENT_PARAM2_NAMES[SAI_EVENTS.DISTANCE_GAMEOBJECT] = 'Entry';
// TODO: add missing values

export const SAI_EVENT_PARAM3_NAMES = [];
SAI_EVENT_PARAM3_NAMES[SAI_EVENTS.UPDATE_IC] = 'RepeatMin';
SAI_EVENT_PARAM3_NAMES[SAI_EVENTS.UPDATE_OOC] = 'RepeatMin';
SAI_EVENT_PARAM3_NAMES[SAI_EVENTS.HEALTH_PCT] = 'RepeatMin';
Expand Down Expand Up @@ -288,9 +293,7 @@ SAI_EVENT_PARAM3_NAMES[SAI_EVENTS.UPDATE] = 'RepeatMin';
SAI_EVENT_PARAM3_NAMES[SAI_EVENTS.FRIENDLY_HEALTH_PCT] = 'RepeatMin';
SAI_EVENT_PARAM3_NAMES[SAI_EVENTS.DISTANCE_CREATURE] = 'Distance';
SAI_EVENT_PARAM3_NAMES[SAI_EVENTS.DISTANCE_GAMEOBJECT] = 'Distance';
// TODO: add missing values

export const SAI_EVENT_PARAM4_NAMES = [];
SAI_EVENT_PARAM4_NAMES[SAI_EVENTS.UPDATE_IC] = 'RepeatMax';
SAI_EVENT_PARAM4_NAMES[SAI_EVENTS.UPDATE_OOC] = 'RepeatMax';
SAI_EVENT_PARAM4_NAMES[SAI_EVENTS.HEALTH_PCT] = 'RepeatMax';
Expand All @@ -315,9 +318,7 @@ SAI_EVENT_PARAM4_NAMES[SAI_EVENTS.UPDATE] = 'RepeatMax';
SAI_EVENT_PARAM4_NAMES[SAI_EVENTS.FRIENDLY_HEALTH_PCT] = 'RepeatMax';
SAI_EVENT_PARAM4_NAMES[SAI_EVENTS.DISTANCE_CREATURE] = 'RepeatTimer';
SAI_EVENT_PARAM4_NAMES[SAI_EVENTS.DISTANCE_GAMEOBJECT] = 'RepeatTimer';
// TODO: add missing values

export const SAI_EVENT_PARAM1_TOOLTIPS = [];
SAI_EVENT_PARAM1_TOOLTIPS[SAI_EVENTS.UPDATE_IC] = 'Timer min';
SAI_EVENT_PARAM1_TOOLTIPS[SAI_EVENTS.UPDATE_OOC] = 'Timer min';
SAI_EVENT_PARAM1_TOOLTIPS[SAI_EVENTS.HEALTH_PCT] = 'Timer min';
Expand Down Expand Up @@ -346,9 +347,7 @@ SAI_EVENT_PARAM1_TOOLTIPS[SAI_EVENTS.GOSSIP_SELECT] = 'This is the gossip_menu.e
SAI_EVENT_PARAM1_TOOLTIPS[SAI_EVENTS.GO_STATE_CHANGED] = 'The new state of the gameobject after this event';
SAI_EVENT_PARAM1_TOOLTIPS[SAI_EVENTS.DISTANCE_CREATURE] = 'Guid of the creature we want to check for. Can be left on 0 if the entry is given.';
SAI_EVENT_PARAM1_TOOLTIPS[SAI_EVENTS.DISTANCE_GAMEOBJECT] = 'Guid of the gameobject we want to check for. Can be left on 0 if the entry is given.';
// TODO: add missing values

export const SAI_EVENT_PARAM2_TOOLTIPS = [];
SAI_EVENT_PARAM2_TOOLTIPS[SAI_EVENTS.UPDATE_IC] = 'Timer max';
SAI_EVENT_PARAM2_TOOLTIPS[SAI_EVENTS.UPDATE_OOC] = 'Timer max';
SAI_EVENT_PARAM2_TOOLTIPS[SAI_EVENTS.HEALTH_PCT] = 'Timer max';
Expand All @@ -361,9 +360,7 @@ SAI_EVENT_PARAM2_TOOLTIPS[SAI_EVENTS.RECEIVE_HEAL] = 'Maximum allowed value of t
SAI_EVENT_PARAM2_TOOLTIPS[SAI_EVENTS.GOSSIP_SELECT] = 'This is the gossip_menu_option.id identifier';
SAI_EVENT_PARAM2_TOOLTIPS[SAI_EVENTS.DISTANCE_CREATURE] = 'Entry of the creature we want to check for. Can be left on 0 if the guid is given.';
SAI_EVENT_PARAM2_TOOLTIPS[SAI_EVENTS.DISTANCE_GAMEOBJECT] = 'Entry of the gameobject we want to check for. Can be left on 0 if the guid is given.';
// TODO: add missing values

export const SAI_EVENT_PARAM3_TOOLTIPS = [];
SAI_EVENT_PARAM3_TOOLTIPS[SAI_EVENTS.UPDATE_IC] = 'Repeat timer min';
SAI_EVENT_PARAM3_TOOLTIPS[SAI_EVENTS.UPDATE_OOC] = 'Repeat timer min';
SAI_EVENT_PARAM3_TOOLTIPS[SAI_EVENTS.HEALTH_PCT] = 'Repeat timer min';
Expand All @@ -373,9 +370,7 @@ SAI_EVENT_PARAM3_TOOLTIPS[SAI_EVENTS.RANGE] = 'Timer min';
SAI_EVENT_PARAM3_TOOLTIPS[SAI_EVENTS.VICTIM_CASTING] = 'Spell id the target must be casting. If left at 0, it detects ANY spell.';
SAI_EVENT_PARAM3_TOOLTIPS[SAI_EVENTS.DISTANCE_CREATURE] = 'Min distance to the creature that\'ll make the event trigger';
SAI_EVENT_PARAM3_TOOLTIPS[SAI_EVENTS.DISTANCE_GAMEOBJECT] = 'Min distance to the gameobject that\'ll make the event trigger';
// TODO: add missing values

export const SAI_EVENT_PARAM4_TOOLTIPS = [];
SAI_EVENT_PARAM4_TOOLTIPS[SAI_EVENTS.UPDATE_IC] = 'Repeat timer max';
SAI_EVENT_PARAM4_TOOLTIPS[SAI_EVENTS.UPDATE_OOC] = 'Repeat timer max';
SAI_EVENT_PARAM4_TOOLTIPS[SAI_EVENTS.HEALTH_PCT] = 'Repeat timer max';
Expand All @@ -384,5 +379,5 @@ SAI_EVENT_PARAM4_TOOLTIPS[SAI_EVENTS.KILL] = 'Entry of the creature that has to
SAI_EVENT_PARAM4_TOOLTIPS[SAI_EVENTS.RANGE] = 'Timer max';
SAI_EVENT_PARAM4_TOOLTIPS[SAI_EVENTS.DISTANCE_CREATURE] = 'Timer to check for distance. It\'s not a good idea to leave this at 0, having a handful of events doing that can slow down your core big time.';
SAI_EVENT_PARAM4_TOOLTIPS[SAI_EVENTS.DISTANCE_GAMEOBJECT] = 'Timer to check for distance. It\'s not a good idea to leave this at 0, having a handful of events doing that can slow down your core big time.';
// TODO: add missing values


0 comments on commit b0ef739

Please sign in to comment.