PDA

View Full Version : SFRPG IF: SIZE() on NPC



rhagelstrom
June 15th, 2024, 16:28
Size conditional doesn't appear to work when checking an NPC. The issue appears to be it is calling ActorCommonManager.isCreatureSizeDnD3 when it should be ActorCommonManager.isCreatureSizeDnD5

superteddy57
June 17th, 2024, 02:00
It would be best to provide an exact step by step to reproduce the issue you are running into. That way I can replicate and see how the code is behaving with your scenario. I will consider your feedback once I am able to know how it's failing.

rhagelstrom
June 17th, 2024, 02:20
It would be best to provide an exact step by step to reproduce the issue you are running into. That way I can replicate and see how the code is behaving with your scenario. I will consider your feedback once I am able to know how it's failing.

You can use IF or IFT

So for example

IFT: SIZE(large); ATK: 10

It evaluates everything as medium no matter what the creature size. Only affects NPCs

superteddy57
June 17th, 2024, 03:40
Ok thanks, I'll give that a try and see why it's failing.

superteddy57
June 17th, 2024, 14:15
It is using the incorrect function for the check. I will have this pushed with the weekly update.