• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Summon strength

Eickhoff

New Member
Joined
Mar 29, 2011
Messages
19
Reaction score
0
What can i do to make my summons be stronger like a storage?
exemplo:
storage 1500,1 Summon attak = 200
storage 1500,2 Summon attak = 250
storage 1500,3 Summon attak = 300
...

sorry for the english >.<"
Help D:
if storage up, strength up :s
 
It is easy, make the monsters attacks and spells with lua in the folder spells and you can edit the attack streng if the storage change!
 
Exedion, can you paste how would be the code?

config.lua would be like this:

experienceStages = true
rateExperience = 80
rateExperienceFromPlayers = 180
rateSkill = 40
rateMagic = 40
rateLoot = 2
rateSpawn = 2

-- Monster rates
rateMonsterHealth = 1.0
rateMonsterMana = 1.0
rateMonsterAttack = getCreatureStorage(cid, 15013) * 1.0 -- <<< :s
rateMonsterDefense = 1.0


minLevelThresholdForKilledPlayer = 0.9
maxLevelThresholdForKilledPlayer = 1.1
 
I see you are new in Open Tibia world, you NOT need do this in "config.lua", you need make new scripts in SPELLS folders, try search some tutorial of scripting before start.
 
Back
Top