mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
472 B
472 B
Function: SetStrBase(spawn, value)
Description: Set's the Spawn's base strength to the value provided.
Parameters:
spawn(Spawn) - Spawn object representingspawn.value(int32) - Integer valuevalue.
Returns: None.
Example:
-- From SpawnScripts/Generic/CombatModule.lua
function attributes(NPC, Spawn)
-- Calculate attributes
if level <= 4 then
baseStat = 19 else
baseStat = level + 15
end