Browse Source

Better logging for 'proc' function not triggering right so we know which spell

Image 4 years ago
parent
commit
49a0072218
1 changed files with 1 additions and 1 deletions
  1. 1 1
      EQ2/source/WorldServer/Combat.cpp

+ 1 - 1
EQ2/source/WorldServer/Combat.cpp

@@ -1348,7 +1348,7 @@ bool Entity::CastProc(Proc* proc, int8 type, Spawn* target) {
 	}
 
 	if (lua_pcall(state, num_args, 0, 0) != 0) {
-		LogWrite(COMBAT__ERROR, 0, "Proc", "Unable to call the proc function");
+		LogWrite(COMBAT__ERROR, 0, "Proc", "Unable to call the proc function for spell %i tier %i", proc->spell->spell->GetSpellID(), proc->spell->spell->GetSpellTier());
 		lua_pop(state, 1);
 		return false;
 	}