RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Snapdragon! AKA, turning friends and foes into equipment

0 Members and 2 Guests are viewing this topic.

**
Rep: +0/-0Level 75
RMRK Junior
Summary

Snapdragon, or Snapshot, from Tactics Ogre; the extremely-rare spell that let you turn random units into powerful swords, inheriting the sacrificed unit's name and a portion of their stats. Now you can practice the ritual1 sacrifice2 of units for fun3 and profit4, too!

1 or it could be an in-battle thing, that works too
2 unit sacrifice optional, but entirely doable
3 probably not fun for the unit
4 just toss me in the credits if you're going to sell the game, and maybe tell me my script has been used in something

Script

Script can be found on Github here.

Requirements

Hime's Instance Items
Hime's Effects Manager

Setup

There are a couple of customisable things in the script; whether or not targeted party members should be removed from the party on successful usage of a snapdragon skill, whether or not the player gets the unit's equipment back if the unit is removed, and what portion of the unit's stats are inherited by the equipment.

If you want to use this on enemies, bear in mind snapdragon will not automatically kill them or otherwise remove them from battle; that's up to the skill itself.

Usage

Actors, enemies and classes can be set up to turn into specific pieces of equipment; just put <snapdragon weapon: #> or <snapdragon armour: #> in their notebox fields, where # is the ID of the weapon or armour you want the unit to turn into. Any skill or item with <eff: snapdragon> in their notebox will turn the unit into that piece of equipment, and depending on script settings possibly strip them and then remove them from the party.
Units and entire classes can be immune to the snapdragon effect; any unit without a snapdragon weapon/armour tag, or with the <snapdragon immune> tag, will not be subject to the snapdragon effect - the item or skill will execute any other effects it would have, but the player won't get equipment out of it and the unit won't be removed from the party.

You can also invoke the snapdragon effect via script command, with:
Code: [Select]
snapdragon(target)
...where the target is the actor or enemy you want to attempt to convert. This respects whatever tags they have.

You can also just directly stuff a unit into a specific piece of equipment with:
Code: [Select]
EquipItem.snap_battler(target)
...where target is once again the unlucky unit, and EquipItem is an instance of EquipItem. This does not respect their snapdragon tags.

The resulting equipment item will always have the base stats, appearance and any Features of the base weapon, plus the fraction of the sacrificed unit's stats as defined in the script, and will bear the sacrificed unit's name.

Suggestions

Bug-reports? Suggestions? Praise? Anything, post it here.

*
Last Stop
Rep:
Level 88
Everyone Off
Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.Secret Santa 2012 ParticipantSilver - GIAW 10Silver - GIAW 92011 Biggest Drama WhoreBronze - GIAW HalloweenGold - Game In A Week VII
Could this be modified for use against enemy units? Ala the "Card" command in FF VIII which turned enemy units (with a very low chance) into playing cards for the minigame?

**
Rep: +0/-0Level 75
RMRK Junior
Yes, it does already work like that, though you need to set up the skill to get rid of enemies itself.

Currently it just works if the skill works, though. There's no check for enemy HP or anything.

*
Last Stop
Rep:
Level 88
Everyone Off
Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.Secret Santa 2012 ParticipantSilver - GIAW 10Silver - GIAW 92011 Biggest Drama WhoreBronze - GIAW HalloweenGold - Game In A Week VII

*
Rep:
Level 72
~Few people understand the beauty of the night~
2014 Best Topic
Sounds pretty awesome actually. I may end up playing around with this in a project eventually.
Download http://a.tumblr.com/tumblr_lm5v281q6E1qde50fo1.mp3