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
Get Asqueria: Origins of the Dream (Demo)
Asqueria: Origins of the Dream (Demo)
Dark Fantasy RPG - Admixed magic spreads..
Status | Prototype |
Author | DarkScream |
Genre | Role Playing |
Tags | crpg, Dark Fantasy, Game Jam, JRPG, pirate-jam, Retro, RPG Maker, RPG Maker MV, Singleplayer |
Languages | English |
Accessibility | Configurable controls |
More posts
- Asqueria v0.2.6- Hotfix53 days ago
- Asqueria v0.2.5 - Patch Day!67 days ago
- Microdungeons68 days ago
- Symbol Encounters (On map enemies)73 days ago
- Asqueria v0.2.1 - Patch Day!79 days ago
- Passive Sprite Animations80 days ago
- Pixel Tweaking Sprites and Tiles83 days ago
- Boss Reworks (With Video!)86 days ago
- Filesize vs Quality87 days ago
Leave a comment
Log in with itch.io to leave a comment.