Variable Duration
Moderator: Team Members
Forum rules
READ THE FORUM STICKY THREADS BEFORE ASKING FOR HELP!
Most information can be found there, and if not, the posts will help you determine the information required to get assistance from the development team.
Incomplete Help Requests will be locked or deleted.
READ THE FORUM STICKY THREADS BEFORE ASKING FOR HELP!
Most information can be found there, and if not, the posts will help you determine the information required to get assistance from the development team.
Incomplete Help Requests will be locked or deleted.
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Variable Duration
Anyone know a way to change the duration of a spell to be variable by level? If not, what is the difference between duration1 and duration2?
Resident Dirty Hippy
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Variable Duration
It has been a while since I looked at spell code but I believe duration1 and duration2 is a min/max duration and the duration is random between those values.
As for making it variable by level you would need to add code to the spellprocess file to change duration for that.
As for making it variable by level you would need to add code to the spellprocess file to change duration for that.
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: Variable Duration
Thanks for clearing that up. I figured that duration1 was minimum and duration2 maximum, but I was not positive.
Resident Dirty Hippy
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: Variable Duration
is there a current spell that has a dynamic duration based on level, or is that for a custom spell
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: Variable Duration
ok thanks, just checking just in case its something that needed coded to support
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: Variable Duration
Not that I know of. I am going to look at food consumption tomorrow, I cannot remember if that is implemented, but I need it to be. Overall, yeah I do want variable duration based on level but it is high hanging fruit.
Resident Dirty Hippy
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Variable Duration
Yes I believe it was it just requires an item script on the food/drink.Gangrenous wrote: Tue May 07, 2019 5:22 pm I am going to look at food consumption tomorrow, I cannot remember if that is implemented,
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Who is online
Users browsing this forum: No registered users and 0 guests