Commit 3e01978
committed
Implement cheat system and enhance game mechanics
- Updated `DataLoader.cs` to throw exceptions for missing location data and added `Experience` and `Gold` properties to the `Enemy` class with random gold rewards.
- Revamped `GameEngine.cs` to introduce a comprehensive cheat system, including activation, processing, and effects on combat.
- Modified `GameModels.cs` to include new properties for `Experience` and `Gold` in the `Enemy` class and added a `Key` property to the `Location` class.
- Enhanced overall game structure with features like no-clip mode and improved enemy spawning and combat mechanics.1 parent 9023ba8 commit 3e01978
File tree
3 files changed
+718
-50
lines changed- src
- Data
- Game
- Models
3 files changed
+718
-50
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | 1 | | |
6 | 2 | | |
7 | 3 | | |
| |||
87 | 83 | | |
88 | 84 | | |
89 | 85 | | |
90 | | - | |
| 86 | + | |
91 | 87 | | |
92 | 88 | | |
93 | 89 | | |
94 | 90 | | |
95 | 91 | | |
96 | 92 | | |
97 | 93 | | |
| 94 | + | |
98 | 95 | | |
99 | 96 | | |
100 | 97 | | |
| |||
145 | 142 | | |
146 | 143 | | |
147 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
148 | 152 | | |
149 | 153 | | |
150 | 154 | | |
| |||
0 commit comments