Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (_local14 in _arg10) {
- if (_arg10[_local14].id == server.getMyId()){
- if ((_arg10[_local14].flags & SocketCommunicator.DMG_FLAG_CRACKED_ARMOR) == 0){
- if (_arg10[_local14].deliveryTime == 0){
- if ((_arg10[_local14].flags & SocketCommunicator.DMG_SHIELD) == 0){
- pm.getPlayer(server.getMyId()).damage(_arg10[_local14].damage, _arg1);
- } else {
- pm.getPlayer(server.getMyId()).damageShield(_arg10[_local14].damage, _arg1);
- };
- } else {
- pm.getPlayer(server.getMyId()).applyPoison(_arg10[_local14].damage, _arg10[_local14].deliveryTime, _arg1);
- };
- } else {
- pm.getPlayer(server.getMyId()).setCrackedArmor(true);
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement