#3751 Centurion Weapon System - Nonfunctional

stable 0.38
closed
None
fixed
1
2014-04-10
2013-06-02
Anonymous
No

Centurion Weapon System non-functional.

  • Should check for shutdown as if 14 heat higher than current.

Discussion

  • Sebastian Brocks

    • Resolution: none --> accepted
    • Milestone: undetermined --> post-stable 0.36
     
  • Nicholas Walczak

    I added a weapon handler for the CWS in [r10754]. It now forces the shutdown rolls however every unit is currently considered to be "susceptible" to CWS. This should really be added as a configurable option in the lobby and then that should be taken into consideration to modify the range.

     

    Related

    Commit: [r10754]

  • Nicholas Walczak

    I added in the variable ranges in [r10757]. It's a bit of a hack, but it works.

    First, I added a susceptible_cws quirk, which is how we determine if a unit is susceptible to CWS or not.

    Then, I added code in Compute.getRangeMods that checks to see if the firing weapon is a CWS, and then checks if the target is susceptible or not. If quirks are off, it's assumed the unit is not susceptible. If the unit is not susceptible, the range is reduced.

    I also added similar code to the MechDisplay. I had to add a getter to FiringDisplay.target.

     

    Related

    Commit: [r10757]

  • Nicholas Walczak

    • assigned_to: Nicholas Walczak
    • Resolution: accepted --> fixed
     
  • Nicholas Walczak

    • Status: open --> closed
     

Log in to post a comment.