Azaren 130 Posted May 12, 2020 Can you please add "heal amount" event to potions listener like bandages? here: https://community.bistudio.com/wiki/Ylands_Tile_-_On_Drink_Event or aply potions heal to here: https://community.bistudio.com/wiki/Ylands_Tile_-_On_Treat_Wounds_Event I have unfinished special info board for battlegrounds and "healed amount" in, but cant use, couse potion has not amount healed or cant be used "drink event", couse can heal only 50? 65? 87? Who knows how much? Sorry for my bad english... Peter 1 Share this post Link to post Share on other sites
Adam Snellgrove 1451 Posted May 13, 2020 I'll ask and get back to you ? 1 Share this post Link to post Share on other sites
ocnoglittle 760 Posted November 25, 2020 While they are working on this, maybe you can just use these scripting tiles to make it work: Traditionally health potions restore to full health: But you can also do a percent (This example is 20%, or 1 heart): Or a fixed value: Please let me know if I completely misunderstood your question ? 1 Share this post Link to post Share on other sites
Azaren 130 Posted November 25, 2020 In my game player has not 100 hp, but maximum is 350 ? I would like to show correct value of healed hit points. Now i just use value +100, but sometime heal potion heal ONLY 64? 35? 99? ? And more important is i would like add ANTI-HEAL skills. For that i need healed amount from all sources (not bandage only). For now i can do only "anti-bandage skill", that is absolutely useless.... Drink event start on every potion drinking now... Share this post Link to post Share on other sites
ocnoglittle 760 Posted November 25, 2020 My initial testing indicates that the health potion will heal up to 101 hit points. This means if the player is missing less than 101 hit points, it will only heal until full health. You could try to use something like this (except the write to console will be whatever you need the number for): However, it might run into problems if the player is damaged between holding the health potion and drinking it. For your Anti-heal Skill, I would just use 101 as the healed amount. To have an event listener only listen to health potions, you can always select the entity type: Share this post Link to post Share on other sites
Azaren 130 Posted November 25, 2020 Yes, problem is time between two actions and possibility to block heal to another player who use eg. speed potion or in duel self-block heal if you use, stop-use, and use again potions...It has more possible problems... Share this post Link to post Share on other sites