Author Topic: AI Elemental Flags - Op Codes  (Read 2317 times)

Sega Chief

  • *
  • Posts: 4087
  • These guys is sick
    • View Profile
AI Elemental Flags - Op Codes
« on: 2015-06-03 02:07:47 »
Hey guys,

I'm hunting for the OpCodes that handle the 'Weak to' elemental flags (I've only got Absorb and Null in my notes); has anyone happened to find them or do these flags not exist? The Ops for Auto-Hit & Half Damage ones would be handy too.

nfitc1

  • *
  • Posts: 3011
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
Re: AI Elemental Flags - Op Codes
« Reply #1 on: 2015-06-03 13:33:28 »
Is this what you're talking about?

0x0030    8 bytes    Element rates for elements above, respectively (8 records):
00h - Death
02h - Double Damage
04h - Half Damage
05h - Nullify Damage
06h - Absorb 100%
07h - Full Cure

Sega Chief

  • *
  • Posts: 4087
  • These guys is sick
    • View Profile
Re: AI Elemental Flags - Op Codes
« Reply #2 on: 2015-06-03 14:31:04 »
I think so, but they don't look like what I generally use for Absorb and Nullify: this is what I use in enemy AI for setting the Absorb flags:

Code: [Select]
4130|AbsorbFire
4131|AbsorbIce
4132|AbsorbLightning
4133|AbsorbEarth
4134|AbsorbPoison
4135|AbsorbGravity
4136|AbsorbWater
4137|AbsorbWind
4138|AbsorbHoly
4139|AbsorbRestorative
413A|AbsorbCut
413B|AbsorbHit
413C|AbsorbPunch
413D|AbsorbShoot
413E|AbsorbShout
413F|AbsorbHidden

Which I'd use like this:
Code: [Select]
12 20A0
10 42A9
80
60 01
90

Is there an equivalent for the other Element rates or is there an alternative way to set it?