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 (v0.2.7)
Asqueria: Origins of the Dream (v0.2.7)
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
- Learnings from PirateJam15Aug 04, 2024
- Pirate Jam 15 - Asqueria: Distilled SoulJul 28, 2024
- Asqueria v0.2.7 - Patch Day!Jun 12, 2024
- RPG Maker MV web buildingJun 11, 2024
- Asqueria Worldmap ZonesJun 09, 2024
- In-Game Books!Jun 03, 2024
- One Big CastleMay 31, 2024
- Asqueria v0.2.6- HotfixMar 21, 2024
- Asqueria v0.2.5 - Patch Day!Mar 07, 2024
Leave a comment
Log in with itch.io to leave a comment.