Author Topic: Potions and such  (Read 1285 times)

0 Members and 1 Guest are viewing this topic.

Not Yet Rated!

Offline CatManDan

  • New Member
  • *
  • Topic Author
  • Posts: 1
  • Country: za
  • Karma: +0/-0
    • View Profile
    • Awards
Potions and such
« on: 26 January 2018, 18:32:59 »
I've been working on a mod that changes potions in the game, like drop chances, regen amount, etc.

Is there a way to change the amount of health regen of a potion and for how long, or is this hard-coded?
If so, do we know how the amount of regen per potion and how long?

Not Yet Rated!

Offline Elfe

  • Member
  • *
  • Posts: 12
  • Country: de
  • Karma: +1/-0
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone:  0
Re: Potions and such
« Reply #1 on: 16 March 2018, 17:19:32 »
You can change the amount of hp the potion will regenerate in general as well as a percentage to which it will jump immediatelly once you used it, the same goes for energy. Also you can create potions that grant gold, skill / attribute or experience points. Unfortunatelly you can't set a duration for this though.

Simply go to records/items/miscellaneous/oneshot/ and pick one of the files inside and open it. When you click the "Bonus" knot on the left all the above mentioned entries should show up on the right side.

Also since those are oneshot items you might have to modify all of the type you're editing to the same delay in order to change their cooldown as this is some strange property that some oneshot items have. Not sure whether that applies to potions though. For scrolls it does...
« Last Edit: 16 March 2018, 17:21:58 by Elfe »


SimplePortal 2.3.7 © 2008-2020, SimplePortal