Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

Video: https://youtu.be/RHJsW06legU

In Guild Wars, when an ally (or minion!) affected by Death Nova dies in battle, it unleashes a large scale explosion that deals damage to all nearby enemies and poisons them! Here's how to make such an effect in RPG Maker MV!

You can grab the copy/paste code here:

Yanfly.moe: http://yanfly.moe/2016/12/23/tips-tricks-death-nova-guild-wars-rpg-maker-mv/

Happy nova-ing!

Files

Previews only

Comments

Anonymous

Hi Yanfly, I want to thank you for everything you do. Your plugins are awesome and the tip & tricks are excellent. That's what brings me to this Tip & Tricks "Death Nova" that I modified for my own need. Unlike targeting an ally I target an enemy. And when the enemy dies it is his allies who dies with him. I will put you following the modified code for those that interest. To be set in state K.O. // Death Nova <custom apply="" effect=""> // Get the Death Nova state's ID var deathNovaId = 33; // Check if the target is dead and is affected by the Death Nova state if (target.isDead() && target.isStateAffected(deathNovaId)) { // Get the poison state var poisonId = 4; // Get the original caster for the Death Nova state var caster = target.stateOrigin(deathNovaId); // Calculate the damage dealt var dmg = 233 + caster.mat * 13; // Get the dying unit's friends var group = user.friendsUnit().aliveMembers(); // Loop through the group for (var i = 0; i < group.length; ++i) { // Get the currently looped ally var ally = group[i]; // Check if the ally exists if (ally) { // Make the ally take damage. ally.gainHp(-dmg); // Add the poison state to the ally. ally.addState(poisonId); // Show the damage popup. ally.startDamagePopup(); // Check if the ally is dead if (ally.isDead()) { // If it is, collapse the ally ally.performCollapse(); } // Clear the ally's results ally.clearResult(); } } // Play an animation on the dying unit target.startAnimation(109); // Remove the Death Nova state target.removeState(deathNovaId); } </custom>