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

#9
Posts: 2,550
Threads: 98
Thanks Received: 148
Thanks Given: 160
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
With BIT #$20 set, which I believe is the flag right after the 'is human' one (need conformation), when the weapon in question attacks a monster, it breakpoints in the debugger, but it always will branch past the double damage part. If I use BIT #$10, it will do the double damage part but for both 'is human' and 'is dragon', so that's not right. I'm fairly sure BIT #$20 is the correct one for the flag right after Human, but tis not working.

About that y value bracket, that's not a typo, that's how the debugger is putting it, but I have no idea what to make of that as I have extremely little assembly/coding knowledge myself lol.

This Heal Rod extra effect seems okay to use for it, as it is being picked up in the debugger for the weapon in question,
but my new flag for the monster being a dragon is not and branches to the return...


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-29-2018, 01:58 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite