You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.
The pirate/alien attack event for expeditions does not include tech levls( eg shield, armour, weapon). It should be -3 lvls for pirates and +3 lvls for aliens but currently they get 0/1 regardless of the players tech lvl. Officer bonus should not be included for the calculations, only actual research lvls.
think its that part of the code :
$targetData = array(
'id' => 0,
'username' => $targetName,
'military_tech' => min($senderData['military_tech'] + $techBonus, 0),
'defence_tech' => min($senderData['defence_tech'] + $techBonus, 0),
'shield_tech' => min($senderData['shield_tech'] + $techBonus, 0),
'rpg_amiral' => 0,
'dm_defensive' => 0,
'dm_attack' => 0
);
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The pirate/alien attack event for expeditions does not include tech levls( eg shield, armour, weapon). It should be -3 lvls for pirates and +3 lvls for aliens but currently they get 0/1 regardless of the players tech lvl. Officer bonus should not be included for the calculations, only actual research lvls.
think its that part of the code :
$targetData = array(
'id' => 0,
'username' => $targetName,
'military_tech' => min($senderData['military_tech'] + $techBonus, 0),
'defence_tech' => min($senderData['defence_tech'] + $techBonus, 0),
'shield_tech' => min($senderData['shield_tech'] + $techBonus, 0),
'rpg_amiral' => 0,
'dm_defensive' => 0,
'dm_attack' => 0
);
The text was updated successfully, but these errors were encountered: