
1
2
3
4
5
2
3
4
5
function hit(victim_id, attacker_id, weapon, hpdmg)
if player(attacker_id, 'team') ~= player(victim_id, 'team') then
match_damage_temp[attacker_id] = match_damage_temp[attacker_id] + hpdmg
return
end
1
2
3
4
5
6
2
3
4
5
6
function hitControl(victim_id, attacker_id, weapon, hpdmg)
if player(attacker_id, 'team') == player(victim_id, 'team') then
return 1
end
match_damage_temp[attacker_id] = match_damage_temp[attacker_id] + hpdmg
end