View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0021575 | AI War 2 | Bug - Gameplay | Sep 4, 2019 9:23 pm | Sep 9, 2019 10:33 am | |
Reporter | wm46 | Assigned To | |||
Status | resolved | Resolution | fixed | ||
Product Version | 0.886 Zombie Homebodies | ||||
Fixed in Version | 0.888 Astro Examination | ||||
Summary | 0021575: Ships gain full cloak after unstacking | ||||
Description | Now that player ships can stack, and that the stack starting point has been lowered in general, I've noticed that cloaking points do not carry over when unstacking. This is true both for deaths, and for any other unstacking reason like tractors. For players defending planets this is not really a big issue (as long as its not early game where you have very little uncloaking ability), but this could possibly be abused by the player in attacking the AI. Set the stack limit to 6 >> Stack your 50-ish units into 6 units >> Each stack can now shoot 45 times before being fully killed. Since the the 9x stack gets 9x damage, 8x gets 8x... It gives a total damage value of 225x damage x 6 units, or basically enough damage to kill anything important. | ||||
Tags | No tags attached. | ||||
|
Forgot stacks were changed from max 10x damage + 1 shot every 10 after, to max 5x + 1 shot every 5 after. Still a lot of damage for free though. |
|
I happened to find why ships were cloaking in the first place World_AIW2.cs line 1987: if ( entity.CloakingPointsLost > 0 && entity.GameSecondOfLastCloakingPointLoss < World_AIW2.Instance.GameSecond - ExternalConstants.Instance.SecondsToWaitBeforeRecloaking ) { //must be all the way out if ( entity.GetCurrentCloakingPoints() <= 0 ) entity.CloakingPointsLost = 0; else //otherwise stop checking for a bit entity.GameSecondOfLastCloakingPointLoss = World_AIW2.Instance.GameSecond; } This code resets the ship's cloaking points to full if the last second the ship lost cloaking points was more than 5 seconds ago. When EjectEntireStackFromMyselfIfPresent is called, the code copies over the cloaking points lost, but not the GameSecondOfLastCloakingPointLoss. Maybe the cloaking points should just be set to the current game second when cloaked ships unstack. |
|
Just submitted a fix, revealed ships with cloaking must wait a minimum of 5 seconds after a ship on the stack dies before they can cloak again. |
|
WM, you just checked in a fix for this, right? |
|
I did, this can be closed |
|
Fixed |
Date Modified | Username | Field | Change |
---|---|---|---|
Sep 4, 2019 9:23 pm | wm46 | New Issue | |
Sep 4, 2019 9:28 pm | wm46 | Note Added: 0052835 | |
Sep 8, 2019 11:46 am | wm46 | Note Added: 0052920 | |
Sep 8, 2019 1:12 pm | wm46 | Note Added: 0052921 | |
Sep 9, 2019 10:07 am | BadgerBadger | Note Added: 0052942 | |
Sep 9, 2019 10:20 am | wm46 | Note Added: 0052943 | |
Sep 9, 2019 10:33 am | BadgerBadger | Status | new => resolved |
Sep 9, 2019 10:33 am | BadgerBadger | Resolution | open => fixed |
Sep 9, 2019 10:33 am | BadgerBadger | Fixed in Version | => 0.888 Astro Examination |
Sep 9, 2019 10:33 am | BadgerBadger | Note Added: 0052945 |