Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
Help With Medit
|
Author |
Message |
YoAmoElUO
Apprentice
Posts: 5
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2017
Reputation: 0
|
Help With Medit
Hi. I'm new here and i want to do something but i cant.
I want to increase medit pasive coz is going to slow... and i want to increase active too
I tried changing the number but didn't work
[SKILL 46]
DEFNAME=SKILL_MEDITATION
KEY=Meditation
TITLE=Stoic
DELAY=2.0,1.0
STAT_STR=10
STAT_INT=100
STAT_DEX=10
BONUS_STR=5
BONUS_DEX=90
BONUS_INT=5
BONUS_STATS=20
ADV_RATE=10.0,200.0,800.0
ON=@Fail
//SRC.f_meditation_setup
SRC.SYSMESSAGE Pierdes la concentracion.
ON=@Abort
//SRC.f_meditation_setup
SRC.SYSMESSAGE Detienes la concentracion.
ON=@Start
//SRC.f_meditation_setup
ON=@Success
//SRC.f_meditation_setup
[function f_meditation_setup]
// This enables OSI meditation, providing a passive boost to RegenMana everytime and increasing it when the skill is active instead of the old regen-when-active.
if (<tag0.MeditBonus>)
RegenMana -=<tag.MeditBonus> // Removing old bonus before applying new one.
endif
tag.MeditBonus
if (<tag0.MeditPenalty>) // No Bonus when wearing plate armor
return 0
endif
local.baseBonus=<eval ((<Meditation>/10) * 3) + <int>> // Bonus given by meditation and int
if (<Meditation> >= 1000) // GM medit gets a +10% bonus
local.baseBonus += <muldiv <dlocal.baseBonus>,10,100>
endif
tag.MeditBonus=<eval 2 + <local.baseBonus> / 40> // This is the value applied to RegenMana
if (<action>==Meditation) // If we are meditating the bonus gets doubled.
tag.MeditBonus *=2
endif
RegenMana += <tag.MeditBonus>
I hope u can help me. thanks
|
|
03-27-2017 03:38 PM |
|
|
User(s) browsing this thread: 1 Guest(s)