I haven't found topic like this yet, so here it is
My questions:
1. What's the name of parameter that defines health regenaration?
2. How can I define new wand item that heals party member?
Questions about cloning and defining.
- Edsploration
- Posts: 104
- Joined: Wed Sep 19, 2012 4:32 pm
Re: Questions about cloning and defining.
1. I don't know if there is a way to customize this. I assume it's hardcoded into the engine. It would be possible to add on your own regen effect with a slow counter triggering periodic party healing.
2. Taking a look at the Grimwiki's Heal Party Spell (http://grimwiki.net/wiki/Heal_Party_Spell) gives us a good idea of what functions to call:
You'll have to put this code in (or call it from) the item's onUseItem hook probably.
2. Taking a look at the Grimwiki's Heal Party Spell (http://grimwiki.net/wiki/Heal_Party_Spell) gives us a good idea of what functions to call:
Code: Select all
for i=1,4 do
party:getChampion(i):modifyStat("health", heal_amount)
end
playSound("heal_party")
Open Project -> Community FrankenDungeon: viewtopic.php?f=14&t=4276