From e320fe472de320838986e3ff1f17c4e540677b00 Mon Sep 17 00:00:00 2001 From: zaCade Date: Sat, 11 Aug 2018 20:38:11 +0200 Subject: [PATCH] ItemSpawn: Slight mistake fix. Im actually going to stop here.. for today --- ItemSpawn/scripting/items/whiteknight.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ItemSpawn/scripting/items/whiteknight.inc b/ItemSpawn/scripting/items/whiteknight.inc index bcfd0102..0369323d 100644 --- a/ItemSpawn/scripting/items/whiteknight.inc +++ b/ItemSpawn/scripting/items/whiteknight.inc @@ -306,7 +306,7 @@ public void SpawnWhiteKnight(float fOrigin[3]) DispatchKeyFormat(iCompareShield, "OnEqualTo", "item_knight_model_%d,SetAnimation,dog_defense,0,-1", g_iCounter); DispatchKeyFormat(iCompareShield, "OnEqualTo", "item_knight_model_%d,SetDefaultAnimation,dog_defense,0,-1", g_iCounter); DispatchKeyFormat(iCompareShield, "OnEqualTo", "item_knight_health_%d,SetDamageFilter,item_spawn_nodamage,0,-1", g_iCounter); - DispatchKeyFormat(iCompareShield, "OnEqualTo", "item_knight_health_%d,SetDamageFilter,item_spawn_zombie_filter,0,-1", g_iCounter); + DispatchKeyFormat(iCompareShield, "OnEqualTo", "item_knight_health_%d,SetDamageFilter,item_spawn_zombie_filter,2,-1", g_iCounter); DispatchKeyFormat(iCompareShield, "OnEqualTo", "item_knight_walk_%d,Trigger,,2,-1", g_iCounter); SpawnAndActivate(iCompareShield); ParentToEntity(iCompareShield, iKnife);