IdleLands / IdleLandsOld

[DEPRECATED] A full-blown idling RPG. It has a modular backend that can be added to any existing frontend via a REST API.
http://idlelands.github.io/IdleLandsOld
MIT License
41 stars 28 forks source link

Spells can hit/target you even if you're dead #126

Closed Darkblizer closed 10 years ago

Darkblizer commented 10 years ago

[19:27:03] <@IdleMaster> A new combat round has started. Current status: Darkbuizel [ HP 0/278 MP 818/868 ], Pegloo [ HP 379/570 MP 1244/1344 ], Arcanus [ HP 355/448 MP 321/321 ], foosky [ HP 12/441 MP 27/77 ] [19:27:05] <@IdleMaster> Pegloo cast energy missile at Darkbuizel for 71 HP damage! [19:27:07] <@IdleMaster> Arcanus cast sweeping generalization and foosky took 3 HP damage! [19:27:09] <@IdleMaster> Arcanus cast sweeping generalization and Darkbuizel took 3 HP damage!

Pegloo cast the spell on me, and then Arcanus hit me due to the spell targeting everyone Should probably change the AI so you don't cast spells on dead people (by default, anyway.) For sweeping generalization it can probably be fixed with just checking if each player dead or not as it goes through the enemy team.

seiyria commented 10 years ago

related to #135