mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Script fixes and new effects.
Cleaned up unneeded requires in some scripts Fixed Second Wind Added new effect scripts Added bard song scripts that mostly work
This commit is contained in:
parent
ace4dfe58f
commit
c442dc9ecd
72 changed files with 524 additions and 171 deletions
|
@ -1,13 +1,6 @@
|
|||
--Consistent 85HP/tick normal; 113HP/tick with AF pants
|
||||
require("modifiers")
|
||||
|
||||
function onGain(owner, effect)
|
||||
local magnitude = 85
|
||||
|
||||
--Need a better way to set magnitude when adding effects
|
||||
if effect.GetTier() == 2 then
|
||||
magnitude = 113;
|
||||
end
|
||||
effect.SetMagnitude(magnitude);
|
||||
|
||||
owner.AddMod(modifiersGlobal.Regen, effect.GetMagnitude());
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue