Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Commit

Permalink
Replace SMART_ACTION_INVOKER_CAST with SMART_ACTION_SELF_CAST in acti…
Browse files Browse the repository at this point in the history
  • Loading branch information
Faq committed Aug 17, 2018
1 parent 09d681f commit 3e74ac4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CSV/SAI_ActionType.csv
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
82;SMART_ACTION_ADD_NPC_FLAG
83;SMART_ACTION_REMOVE_NPC_FLAG
84;SMART_ACTION_SIMPLE_TALK
85;SMART_ACTION_INVOKER_CAST
85;SMART_ACTION_SELF_CAST
86;SMART_ACTION_CROSS_CAST
87;SMART_ACTION_CALL_RANDOM_TIMED_ACTIONLIST
88;SMART_ACTION_CALL_RANDOM_RANGE_TIMED_ACTIONLIST
Expand Down Expand Up @@ -131,3 +131,4 @@
131;SMART_ACTION_SPAWN_SPAWNGROUP
132;SMART_ACTION_DESPAWN_SPAWNGROUP
133;SMART_ACTION_RESPAWN_BY_SPAWNID
134;SMART_ACTION_INVOKER_CAST
17 changes: 14 additions & 3 deletions MainUnit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -11942,15 +11942,15 @@ procedure TMainForm.SetSAIAction(t: integer);
lbcyaction_type.Hint := 'can be used to make players say groupID, Text_over event is not triggered, whisper can not be used (Target units will say the text)';
edcyaction_type.Hint := lbcyaction_type.Hint;
end;
85: //SMART_ACTION_INVOKER_CAST
85: //SMART_ACTION_SELF_CAST
begin
lbcyaction_param1.Caption := 'SpellID';
lbcyaction_param2.Caption := 'castFlags';
lbcyaction_param2.Caption := 'triggerFlags';
lbcyaction_param3.Caption := '';
lbcyaction_param4.Caption := '';
lbcyaction_param5.Caption := '';
lbcyaction_param6.Caption := '';
lbcyaction_type.Hint := 'if avaliable, last used invoker will cast spellId with castFlags on targets';
lbcyaction_type.Hint := 'Will cast spellId with triggerFlags on self';
edcyaction_type.Hint := lbcyaction_type.Hint;
end;
86: //SMART_ACTION_CROSS_CAST
Expand Down Expand Up @@ -12481,6 +12481,17 @@ procedure TMainForm.SetSAIAction(t: integer);
lbcyaction_type.Hint := '';
edcyaction_type.Hint := lbcyaction_type.Hint;
end;
134: //SMART_ACTION_INVOKER_CAST
begin
lbcyaction_param1.Caption := 'SpellID';
lbcyaction_param2.Caption := 'castFlags';
lbcyaction_param3.Caption := '';
lbcyaction_param4.Caption := '';
lbcyaction_param5.Caption := '';
lbcyaction_param6.Caption := '';
lbcyaction_type.Hint := 'if avaliable, last used invoker will cast spellId with castFlags on targets';
edcyaction_type.Hint := lbcyaction_type.Hint;
end;
end;
SAI_Action := t;
end;
Expand Down

0 comments on commit 3e74ac4

Please sign in to comment.