|
4 | 4 | DevCheats = class({})
|
5 | 5 |
|
6 | 6 | function DevCheats:Init()
|
7 |
| - ChatCommand:LinkCommand("-help", Dynamic_Wrap(DevCheats, "Help"), self) |
8 |
| - ChatCommand:LinkCommand("-list", Dynamic_Wrap(DevCheats, "Help"), self) |
9 |
| - ChatCommand:LinkCommand("-print_modifiers", Dynamic_Wrap(DevCheats, "PrintModifiers"), self) |
10 |
| - ChatCommand:LinkCommand("-addbots", Dynamic_Wrap(DevCheats, "AddBots"), self) |
11 |
| - ChatCommand:LinkCommand("-nofog", Dynamic_Wrap(DevCheats, "DisableFog"), self) |
12 |
| - ChatCommand:LinkCommand("-fog", Dynamic_Wrap(DevCheats, "EnableFog"), self) |
13 |
| - ChatCommand:LinkCommand("-fixspawn", Dynamic_Wrap(DevCheats, "TeleportHeroesToFountain"), self) |
14 |
| - ChatCommand:LinkCommand("-getpos", Dynamic_Wrap(DevCheats, "PrintPosition"), self) |
15 |
| - ChatCommand:LinkCommand("-god", Dynamic_Wrap(DevCheats, "GodMode"), self) |
16 |
| - ChatCommand:LinkCommand("-disarm", Dynamic_Wrap(DevCheats, "ToggleDisarm"), self) |
17 |
| - ChatCommand:LinkCommand("-dagger", Dynamic_Wrap(DevCheats, "GiveDevDagger"), self) |
18 |
| - ChatCommand:LinkCommand("-core", Dynamic_Wrap(DevCheats, "GiveUpgradeCore"), self) |
19 |
| - ChatCommand:LinkCommand("-addability", Dynamic_Wrap(DevCheats, "AddAbility"), self) |
20 |
| - ChatCommand:LinkCommand("-give", Dynamic_Wrap(DevCheats, "GiveLevelledItem"), self) |
21 |
| - ChatCommand:LinkCommand("-loadout", Dynamic_Wrap(DevCheats, "GiveLoadout"), self) |
22 |
| - ChatCommand:LinkCommand("-scepter", Dynamic_Wrap(DevCheats, "GiveUltimateScepter"), self) |
23 |
| - ChatCommand:LinkCommand("-dagon", Dynamic_Wrap(DevCheats, "GiveDevDagon"), self) |
24 |
| - ChatCommand:LinkCommand("-switchhero", Dynamic_Wrap(DevCheats, "SwitchHero"), self) |
25 |
| - ChatCommand:LinkCommand("-lazer", Dynamic_Wrap(DevCheats, "AddDevAttack"), self) |
| 7 | + ChatCommand:LinkDevCommand("-help", Dynamic_Wrap(DevCheats, "Help"), self) |
| 8 | + ChatCommand:LinkDevCommand("-list", Dynamic_Wrap(DevCheats, "Help"), self) |
| 9 | + ChatCommand:LinkDevCommand("-print_modifiers", Dynamic_Wrap(DevCheats, "PrintModifiers"), self) |
| 10 | + ChatCommand:LinkDevCommand("-addbots", Dynamic_Wrap(DevCheats, "AddBots"), self) |
| 11 | + ChatCommand:LinkDevCommand("-nofog", Dynamic_Wrap(DevCheats, "DisableFog"), self) |
| 12 | + ChatCommand:LinkDevCommand("-fog", Dynamic_Wrap(DevCheats, "EnableFog"), self) |
| 13 | + ChatCommand:LinkDevCommand("-fixspawn", Dynamic_Wrap(DevCheats, "TeleportHeroesToFountain"), self) |
| 14 | + ChatCommand:LinkDevCommand("-getpos", Dynamic_Wrap(DevCheats, "PrintPosition"), self) |
| 15 | + ChatCommand:LinkDevCommand("-god", Dynamic_Wrap(DevCheats, "GodMode"), self) |
| 16 | + ChatCommand:LinkDevCommand("-disarm", Dynamic_Wrap(DevCheats, "ToggleDisarm"), self) |
| 17 | + ChatCommand:LinkDevCommand("-dagger", Dynamic_Wrap(DevCheats, "GiveDevDagger"), self) |
| 18 | + ChatCommand:LinkDevCommand("-core", Dynamic_Wrap(DevCheats, "GiveUpgradeCore"), self) |
| 19 | + ChatCommand:LinkDevCommand("-addability", Dynamic_Wrap(DevCheats, "AddAbility"), self) |
| 20 | + ChatCommand:LinkDevCommand("-give", Dynamic_Wrap(DevCheats, "GiveLevelledItem"), self) |
| 21 | + ChatCommand:LinkDevCommand("-loadout", Dynamic_Wrap(DevCheats, "GiveLoadout"), self) |
| 22 | + ChatCommand:LinkDevCommand("-scepter", Dynamic_Wrap(DevCheats, "GiveUltimateScepter"), self) |
| 23 | + ChatCommand:LinkDevCommand("-dagon", Dynamic_Wrap(DevCheats, "GiveDevDagon"), self) |
| 24 | + ChatCommand:LinkDevCommand("-switchhero", Dynamic_Wrap(DevCheats, "SwitchHero"), self) |
| 25 | + ChatCommand:LinkDevCommand("-lazer", Dynamic_Wrap(DevCheats, "AddDevAttack"), self) |
26 | 26 | end
|
27 | 27 |
|
28 | 28 | -- Print all modifiers on player's hero to console
|
|
0 commit comments