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

Commit be53283

Browse files
committed
Some not updated changes ref #67
1 parent 83e9577 commit be53283

File tree

3 files changed

+35
-19
lines changed

3 files changed

+35
-19
lines changed

CSV/CreatureFlagsExtra.csv

+19-9
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,26 @@
77
7;NO_XP_AT_KILL(creature kill does not give XP)
88
8;TRIGGER(creature is trigger-NPC - invisible to players only)
99
9;NO_TAUNT(creature is immune to taunt-auras and "attack me"-effects)
10-
10;UNK1
11-
11;UNK2
12-
12;UNK3
13-
13;UNK4
14-
14;UNK5
10+
10;NO_MOVE_FLAGS_UPDATE (creature won't update movement flags)
11+
11;GHOST_VISIBILITY (creature will be only visible for dead players)
12+
12;USE_OFFHAND_ATTACK (creature will use offhand attacks)
13+
13;NO_SELL_VENDOR (players can't sell items to this vendor)
14+
14;UNUSED_13
1515
15;WORLDEVENT(custom flag for world events - left room for merging)
1616
16;GUARD(creature is a guard - will ignore feign death and vanish)
17-
17;UNK6
17+
17;UNUSED_16
1818
18;NO_CRIT(creature does not do critical strikes)
1919
19;NO_SKILLGAIN(creature won't increase weapon skills)
20-
20;TAUNT_DIMINISH(creature taunt is subject to diminishing returns)
21-
21;ALL_DIMINISH(Creature is subject to all diminishing returns)
22-
22;DUNGEON_BOSS(Creature is a dungeon boss. This flag is generically set by core during runtime. Setting this in database will give you startup error.)
20+
20;TAUNT_DIMINISH(Taunt is a subject to diminishing returns on this creautre)
21+
21;ALL_DIMINISH(creature is subject to all diminishing returns as player are)
22+
22;EXTRA_NO_PLAYER_DAMAGE_REQ (creature does not need to take player damage for kill credit)
23+
23;UNUSED_22
24+
24;NUSED_23
25+
25;NUSED_24
26+
26;NUSED_25
27+
27;NUSED_26
28+
28;NUSED_27
29+
29;DUNGEON_BOSS(creature is a dungeon boss (SET DYNAMICALLY, DO NOT ADD IN DB))
30+
30;IGNORE_PATHFINDING (creature ignore pathfinding)
31+
31;IMMUNITY_KNOCKBACK (creature is immune to knockback effects)
32+
32;UNUSED_31

CSV/SAI_EventType.csv

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@
6464
63;SMART_EVENT_JUST_CREATED
6565
64;SMART_EVENT_GOSSIP_HELLO
6666
65;SMART_EVENT_FOLLOW_COMPLETED
67-
66;SMART_EVENT_DUMMY_EFFECT(NYI)
67+
66;SMART_EVENT_EVENT_PHASE_CHANGE
6868
67;SMART_EVENT_IS_BEHIND_TARGET
6969
68;SMART_EVENT_GAME_EVENT_START
7070
69;SMART_EVENT_GAME_EVENT_END
71-
70;SMART_EVENT_GO_STATE_CHANGED
71+
70;SMART_EVENT_GO_LOOT_STATE_CHANGED
7272
71;SMART_EVENT_GO_EVENT_INFORM
7373
72;SMART_EVENT_ACTION_DONE
7474
73;SMART_EVENT_ON_SPELLCLICK

MainUnit.pas

+14-8
Original file line numberDiff line numberDiff line change
@@ -9850,6 +9850,9 @@ procedure TMainForm.SetSAIEvent(t: integer);
98509850
lbcyevent_param2.Caption := 'MaxRange';
98519851
lbcyevent_param3.Caption := 'CooldownMin';
98529852
lbcyevent_param4.Caption := 'CooldownMax';
9853+
lbcyevent_param5.Caption := 'PlayerOnly (0/1)';
9854+
lbcyevent_param5.Hint := '0-triggred by npcs and players. 1-triggred by players only';
9855+
edcyevent_param5.Hint := lbcyevent_param5.Hint;
98539856
lbcyevent_type.Hint := 'On Target In Distance Line of Sight Out of Combat';
98549857
edcyevent_type.Hint := lbcyevent_type.Hint;
98559858
end;
@@ -9996,6 +9999,9 @@ procedure TMainForm.SetSAIEvent(t: integer);
99969999
lbcyevent_param2.Caption := 'MaxRange';
999710000
lbcyevent_param3.Caption := 'CooldownMin';
999810001
lbcyevent_param4.Caption := 'CooldownMax';
10002+
lbcyevent_param5.Caption := 'PlayerOnly (0/1)';
10003+
lbcyevent_param5.Hint := '0-triggred by npcs and players. 1-triggred by players only';
10004+
edcyevent_param5.Hint := lbcyevent_param5.Hint;
999910005
lbcyevent_type.Hint := 'On Target In Distance In Combat';
1000010006
edcyevent_type.Hint := lbcyevent_type.Hint;
1000110007
end;
@@ -10350,13 +10356,13 @@ procedure TMainForm.SetSAIEvent(t: integer);
1035010356
lbcyevent_type.Hint := '';
1035110357
edcyevent_type.Hint := lbcyevent_type.Hint;
1035210358
end;
10353-
66: //SMART_EVENT_DUMMY_EFFECT
10359+
66: //SMART_EVENT_EVENT_PHASE_CHANGE
1035410360
begin
10355-
lbcyevent_param1.Caption := 'spellId';
10356-
lbcyevent_param2.Caption := 'effectIndex';
10361+
lbcyevent_param1.Caption := 'event phase mask';
10362+
lbcyevent_param2.Caption := '';
1035710363
lbcyevent_param3.Caption := '';
1035810364
lbcyevent_param4.Caption := '';
10359-
lbcyevent_type.Hint := '';
10365+
lbcyevent_type.Hint := 'On event phase mask set';
1036010366
edcyevent_type.Hint := lbcyevent_type.Hint;
1036110367
end;
1036210368
67: //SMART_EVENT_IS_BEHIND_TARGET
@@ -10386,9 +10392,9 @@ procedure TMainForm.SetSAIEvent(t: integer);
1038610392
lbcyevent_type.Hint := '';
1038710393
edcyevent_type.Hint := lbcyevent_type.Hint;
1038810394
end;
10389-
70: //SMART_EVENT_GO_STATE_CHANGED
10395+
70: //SMART_EVENT_GO_LOOT_STATE_CHANGED
1039010396
begin
10391-
lbcyevent_param1.Caption := 'go state';
10397+
lbcyevent_param1.Caption := 'go LootState';
1039210398
lbcyevent_param2.Caption := '';
1039310399
lbcyevent_param3.Caption := '';
1039410400
lbcyevent_param4.Caption := '';
@@ -11055,7 +11061,7 @@ procedure TMainForm.SetSAIAction(t: integer);
1105511061
begin
1105611062
lbcyaction_param1.Caption := 'Sound id';
1105711063
lbcyaction_param2.Caption := 'onlySelf (0/1)';
11058-
lbcyaction_param3.Caption := '';
11064+
lbcyaction_param3.Caption := 'Distance (0/1)';
1105911065
lbcyaction_param4.Caption := '';
1106011066
lbcyaction_param5.Caption := '';
1106111067
lbcyaction_param6.Caption := '';
@@ -12299,7 +12305,7 @@ procedure TMainForm.SetSAIAction(t: integer);
1229912305
lbcyaction_param3.Caption := 'soundId3';
1230012306
lbcyaction_param4.Caption := 'soundId4';
1230112307
lbcyaction_param5.Caption := 'onlySelf (0/1)';
12302-
lbcyaction_param6.Caption := 'Distant Sound (0/1)';
12308+
lbcyaction_param6.Caption := 'Distance Sound (0/1)';
1230312309
lbcyaction_type.Hint := '';
1230412310
edcyaction_type.Hint := lbcyaction_type.Hint;
1230512311
end;

0 commit comments

Comments
 (0)