Updated Map Server namespace. Moved all other data folders (www and sql) to data folder. Renamed boot name to Project Meteor.

This commit is contained in:
Filip Maj 2019-06-19 01:10:15 -04:00
parent 18ef69f3d1
commit 91549bff7a
1823 changed files with 102704 additions and 901 deletions

View file

@ -0,0 +1,15 @@
require("modifiers")
--Rampart gives 105 defense at level 50.
--Guessing it scales with level. If I had to guess it's either 2.1 * level or (2 * level) + 5.
--I'm going to guess the latter since it always leaves you with a whole number. I could be completely wrong though
--The party_battle_leve has rampart giving 36? defense. It's from an earlier patch so probably useless
function onGain(owner, effect, actionContainer)
effect.SetMagnitude(2 * owner.GetLevel() + 5);
owner.AddMod(modifiersGlobal.Defense, effect.GetMagnitude());
end;
function onLose(owner, effect, actionContainer)
owner.SubtractMod(modifiersGlobal.Defense, effect.GetMagnitude());
end;