Jump to content

Photo

[2.53][2.55] Patra inner eyes hardcoded HP


  • Please log in to reply
2 replies to this topic

#1 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 02 January 2020 - 11:09 PM

When you have a patra, the inner eyes always have 24 hp, regardless of the setting `Eyes' HP`.

2.53: guys.cpp L10704
2.55: guys.cpp L14216

((enemy*)guys.spr(i))->hp=12*DAMAGE_MULTIPLIER;

This line is the cause; to use the existing `Eyes' HP` setting, it should be `->hp = dmisc3;` - though this may need a QR, or a new setting for the inner HP, for compatibility reasons.



#2 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 03 January 2020 - 10:31 AM

When you have a patra, the inner eyes always have 24 hp, regardless of the setting `Eyes' HP`.

2.53: guys.cpp L10704
2.55: guys.cpp L14216

((enemy*)guys.spr(i))->hp=12*DAMAGE_MULTIPLIER;

This line is the cause; to use the existing `Eyes' HP` setting, it should be `->hp = dmisc3;` - though this may need a QR, or a new setting for the inner HP, for compatibility reasons.

 

Was this reported as new, or did 2.50.x have this issue? I feel as if it did.



#3 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 03 January 2020 - 12:05 PM

Was this reported as new, or did 2.50.x have this issue? I feel as if it did.

Unknown, but I would presume it did. Meaning, would require likely a QR.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users