Commit a1d74a8
committed
Fix vehicle summoning logic and add combat/flying checks
Corrects vehicle menu item to use vehicleData.Id instead of CreatureId. Adds a combat check to prevent vehicle summoning while in combat. Improves flying vehicle summoning by checking riding skill and restricting flying in certain maps and no-fly zones. Fixes vehicle summoning to use the correct CreatureId and updates event lambda parameters.1 parent 39afba9 commit a1d74a8
File tree
2 files changed
+18
-4
lines changed- src
2 files changed
+18
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
543 | | - | |
| 543 | + | |
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
257 | 263 | | |
258 | 264 | | |
259 | 265 | | |
260 | 266 | | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
261 | 274 | | |
262 | 275 | | |
263 | | - | |
| 276 | + | |
| 277 | + | |
264 | 278 | | |
265 | 279 | | |
266 | 280 | | |
267 | 281 | | |
268 | 282 | | |
269 | 283 | | |
270 | | - | |
| 284 | + | |
271 | 285 | | |
272 | 286 | | |
273 | 287 | | |
274 | 288 | | |
275 | 289 | | |
276 | 290 | | |
277 | 291 | | |
278 | | - | |
| 292 | + | |
279 | 293 | | |
280 | 294 | | |
281 | 295 | | |
| |||
0 commit comments