The Undead State


This was a fun one to learn.  I've been working on my Undead Creature Type flag for a while now (a passive state per yanfly scripts).

It's been evolving each version, I think I've finally got it where I want it. At least the version for monsters.


Damage Types:

  • Absorbs Dark Damage
  • Takes 0% from Poison damage
  • Takes double from Light/Holy Damage
  • Takes damage from Healing
  • Dies to Resurrection effects

A simple yanfly tag, 2 basic RPG Parameters took care of the first 3.  The healing and resurrection reaction effects took some doing, though.

Status effects:

  • Immunity to Confusion, Charm, Sleep, Bleed, Poison

Simple thru the RPG Maker Parameters.


For healing becoming damage, I had to get into Custom React Effects and learn about that.  We check if the incoming effect will recover HP, and if it will, we hit it with a Math.abs(), because healing is just negative damage in this system. OK cool, easy.




Now, dying to resurrection effects that took some doing. It's another Custom React Effect, but it was actually kinda tricky to figure out if an incoming spell was "removing the knockout state".  And then the order of calling the "kill the monster" processes matters too. This was the order that worked properly for me:



OK, so now in Asqueria, If you fight a Zombie, you can throw potions at him or instanly kill him with a revive spell. What's next?

Well, what about the player? How about not one, not two, but THREE undead status effects?

  • Undead- Party member has healing/rez spells reversed.
  • Zombie- As above, but now attacks random targets (ally and enemy).
  • Thrall- As above but now fights for the enemy.



The last step? Adding items and spells to remove those effects... Then going back to the undead enemy type and making it die when something tries to dispel those effects too.  All this, just for one "creature type".  But now that I have the state flag set up, I can apply it to any monster I like, and Undead enemies will have some unique mechanics to them.  


I've been working on a bunch of these, actually... 



But that's a subject for another day's posts :) 

Files

Asqueria Origins v0.2.5 patch notes.docx 462 kB
Mar 07, 2024
Asqueria- Origins of the Dream 0.2.5.zip 669 MB
Mar 07, 2024

Get Asqueria: Origins of the Dream (v0.2.7)

Leave a comment

Log in with itch.io to leave a comment.