All pastes #1823371 Raw Edit

clueless

public text v1 · immutable
#1823371 ·published 2010-03-05 01:11 UTC
rendered paste body
Index: src/server/gem.cpp===================================================================--- src/server/gem.cpp	(revision 5649)+++ src/server/gem.cpp	(working copy)@@ -2260,6 +2260,8 @@     // This prevents DoT from killing the player.  We leave the rest     // since there may be long standing debuffs like the DR curse.     CancelActiveSpellsWhichDamage();+    if(psChar->GetHP() < 1) // make sure we won't die instantly+    	psChar->SetHitPoints(1); }  void gemActor::Resurrect()