Glitch with player made spells
-
- Posts: 541
- Joined: Thu Jul 18, 2019 3:08 am
Re: Glitch with player made spells
D
Last edited by Ommamar on Sat Apr 18, 2020 2:14 am, edited 1 time in total.
- Teralitha
- Posts: 359
- Joined: Wed Jul 17, 2019 3:44 pm
Re: Glitch with player made spells
Wouldnt the +10 apply to lvl 1, making the duration 11? And then apply again lvl 6 and 12 etc. I could check, but I always thought it did. Ive never made a spell with such a high interval though, because it doesnt really help.
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Glitch with player made spells
The duration formula is:
You always start with the base value, and the bonus is only applied as character reaches those level multiplier thresholds.
Otherwise, they could simply make a spell that gives them a bonus every 20 levels. Then the spell will be even cheaper with a larger bonus, and the character is still at level 1.
Code: Select all
totalRounds = DurationBase + DurationBonus * FloorInt(CasterLevel / DurationPerLevelValue)
Otherwise, they could simply make a spell that gives them a bonus every 20 levels. Then the spell will be even cheaper with a larger bonus, and the character is still at level 1.
-
- Posts: 541
- Joined: Thu Jul 18, 2019 3:08 am
Re: Glitch with player made spells
Last edited by Ommamar on Sat Apr 18, 2020 2:14 am, edited 1 time in total.
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: Glitch with player made spells
Jay is correct, the division is floored (truncated). This is clearly shown in formula above. If you have a spell that gives you a bonus every 6 levels, you will get your first bonus at level 6, the next at level 12, and so on.
When you cast the spell sequentially, each cast will stack duration onto the incumbent. For simplicity: if each cast gives you 1 round and you cast it twice, then 1+1=2.
But don't forget that first round can last less than 5 seconds as magic rounds are synchronised to game minutes (5 seconds of real-time). That's why a 1-round duration spell can expire anywhere from 0-5 seconds, as first round is always the remainder of current game minute. Jay also explained this correctly earlier.
When you cast the spell sequentially, each cast will stack duration onto the incumbent. For simplicity: if each cast gives you 1 round and you cast it twice, then 1+1=2.
But don't forget that first round can last less than 5 seconds as magic rounds are synchronised to game minutes (5 seconds of real-time). That's why a 1-round duration spell can expire anywhere from 0-5 seconds, as first round is always the remainder of current game minute. Jay also explained this correctly earlier.
-
- Posts: 541
- Joined: Thu Jul 18, 2019 3:08 am
Re: Glitch with player made spells
D
Last edited by Ommamar on Sat Apr 18, 2020 2:14 am, edited 1 time in total.
- Jay_H
- Posts: 4072
- Joined: Tue Aug 25, 2015 1:54 am
- Contact:
Re: Glitch with player made spells
Yes.Ommamar wrote: ↑Fri Aug 02, 2019 12:43 am Ok so lets work it in seconds. Using your example say cast gets 4 second of actual time one first cast but only 3 seconds of use time on second cast giving a one second recast time that is 6 seconds of time you would actually see the spell displayed. So my understanding is that would be considered two rounds but not necessarily 10 seconds of use that you would see.
No, Wisdom is irrelevant. The closer you cast the spell to the five-second tick, the longer it'll last.I am assuming that the higher your wisdom is the closer you would get to the 5 second threshold which is one of the reasons that a spell seems to last longer then it did on the previous level if you upgraded wisdom.
Grab a metronome online and set it to tick every 5 seconds. Every tick you hear is the length of a magic round. If you cast the spell right before the tick, it'll last 0.2 seconds. If you cast it right after the tick, it'll last 4.9 seconds.
If you want a good spell, forget the /X levels thing and just do:
Code: Select all
Duration:
1-1 plus (5-5) per 1 level
-
- Posts: 541
- Joined: Thu Jul 18, 2019 3:08 am
Re: Glitch with player made spells
D
Last edited by Ommamar on Sat Apr 18, 2020 2:16 am, edited 1 time in total.
- Jay_H
- Posts: 4072
- Joined: Tue Aug 25, 2015 1:54 am
- Contact:
Re: Glitch with player made spells
For a level one or two character a front-loaded spell (ie: 10-10 + 1 per level) is better. Once you get to higher levels, a back-loaded spell (ie: 1-1 + 10 per level) is better.
-
- Posts: 541
- Joined: Thu Jul 18, 2019 3:08 am
Re: Glitch with player made spells
D
Last edited by Ommamar on Sat Apr 18, 2020 2:16 am, edited 1 time in total.