mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
492 B
492 B
Function: GetStaBase(spawn)
Description: Gets the base stamina of the spawn.
Parameters:
spawn(Spawn) - Spawn object representingspawn.
Returns: UInt32 value base stamina of the spawn.
Example:
-- From Spells/Priest/Cleric/Inquisitor/SacredArmorWithStaBonus.lua
function cast(Caster, Target, MitAmt, StaAmt)
HealthMod = GetStaBase(Target) * StaAmt
AddSpellBonus(Target, 200, MitAmt, 11, 21, 31)
AddSpellBonus(Target, 500, HealthMod, 1)
end