Users browsing this thread: 1 Guest(s)
Making a Weapon Deal 2x Damage to a New Monster Type

#7
Posts: 2,550
Threads: 98
Thanks Received: 148
Thanks Given: 160
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
Ah I just copy/pasted that from the debugger, when it did not pick up the flag. The actual code is a direct copy (except for the special byte 3 bit) of the 'is human' code, so it looks like it would branch 4 bytes past the double damage part to the RTS, yes, if not a Dragon. Problem is it is reading a dragon-type monster as a not dragon-type monster and branching to the RTS.
I have my weapon set up to the extra effect of the Heal Rod code, where it jumps to free space because I needed 1 more byte, and there I have the duplicate Human flag code but with BIT $20 instead of 10, and I have the special byte 3 of the monster data unused bit 6 under the Human flag checked. I'm not sure what I'm doing wrong here. Sad Sad Sad Sad Sad Sad


We are born, live, die and then do the same thing over again.
Quote  



Messages In This Thread
RE: Newbie Coding 01: Making a Weapon Deal 2x Dmg to a New Monster Type - by Gi Nattak - 01-28-2018, 10:28 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite