Skip to content

Commit e4b65b3

Browse files
committed
refactor: More Generics for CHAR
1 parent 777f2d1 commit e4b65b3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Commands/Commands_Char.lua

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,26 +81,31 @@ CHAR_genericCommands = {
8181
[GENERICS_isParametersNeeded] = true,
8282
[GENERICS_isTargetCheckNeeded] = true,
8383
[GENERICS_command] = ".morph target ",
84+
[GENERICS_canTargetBeACreature] = true,
8485
[GENERICS_message] = "logCHAR_morph"
8586
},
8687
[CHAR_morphResetCommand] = {
8788
[GENERICS_isTargetCheckNeeded] = true,
8889
[GENERICS_command] = ".morph reset",
89-
[GENERICS_message] = "logCHAR_morphReset"
90+
[GENERICS_canTargetBeACreature] = true,
91+
[GENERICS_message] = "logCHAR_demorph"
9092
},
9193
[CHAR_gpsCommand] = {
9294
[GENERICS_isTargetCheckNeeded] = true,
9395
[GENERICS_command] = ".gps",
96+
[GENERICS_canTargetBeACreature] = true,
9497
[GENERICS_message] = "logCHAR_gps"
9598
},
9699
[CHAR_bindSightCommand] = {
97100
[GENERICS_isTargetCheckNeeded] = true,
98101
[GENERICS_command] = ".bindsight",
102+
[GENERICS_canTargetBeACreature] = true,
99103
[GENERICS_message] = "logCHAR_bindSight"
100104
},
101105
[CHAR_unbindSightCommand] = {
102106
[GENERICS_command] = ".unbindsight",
103-
[GENERICS_message] = "logCHAR_unBindSight"
107+
[GENERICS_canTargetBeACreature] = true,
108+
[GENERICS_message] = "logCHAR_unbindSight"
104109
}
105110
}
106111

0 commit comments

Comments
 (0)