File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -212,11 +212,11 @@ func (p *Parser) handleGameEvent(ge *msg.CSVCMsg_GameEvent) {
212
212
e := events.PlayerHurtEvent {
213
213
Player : p .connectedPlayers [int (data ["userid" ].GetValShort ())],
214
214
Attacker : p .connectedPlayers [int (data ["attacker" ].GetValShort ())],
215
- Health : int (data ["health" ].GetValShort ()),
216
- Armor : int (data ["armor" ].GetValShort ()),
215
+ Health : int (data ["health" ].GetValByte ()),
216
+ Armor : int (data ["armor" ].GetValByte ()),
217
217
HealthDamage : int (data ["dmg_health" ].GetValShort ()),
218
- ArmorDamage : int (data ["dmg_armor" ].GetValShort ()),
219
- HitGroup : common .HitGroup (data ["penetrated " ].GetValByte ()),
218
+ ArmorDamage : int (data ["dmg_armor" ].GetValByte ()),
219
+ HitGroup : common .HitGroup (data ["hitgroup " ].GetValByte ()),
220
220
}
221
221
222
222
wep := common .NewEquipment (data ["weapon" ].GetValString ())
You can’t perform that action at this time.
0 commit comments