PDA

View Full Version : [2.50.2, probably 2.5x] Manhandla Claws Trace(n->ID) with Odd Values



ZoriaRPG
11-28-2015, 08:00 AM
This may be intentional, and not a bug, but if you Trace() the n->ID of Manhandla claws/heads, they return values starting at 0 (NPC_NONE) through '3' (NPC_MERCHANT) for a four-hand, and through 07 (NPC_GORIYA) for the 8-handed version. This is inconsistent with the behaviour of every other segmented enemy type, but it's interesting, as if segments other than the core of every segmented enemy Trace()'d with these types of values, it would be a much nicer world, as you could define actions based purely on the core, when reading the NPC ID values.

Tamamo
11-28-2015, 10:40 AM
I checked the code, it appears to have something to do with drawing the correct head tile.
Right Gleeok?