- 0
suporte scripts (resolvido) Efeito de uma magia se player tiver x storage
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
- 0 replies
- 565 views
-
otserv 8.x [Original]Global Compacto Completo 8.60 [I'm Back](Links Atualizados) 1 2 3 4 10
By soldoran,
- 137 replies
- 74969 views
-
- 0 replies
- 896 views
-
- 0 answers
- 3973 views
-
- 0 replies
- 1646 views
-

Question
hitokiri 0
ot 8.60
Eae galera :3
Queria uma ajuda aqui, por exemplo, na magia do mas frigo:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ICETORNADO)
setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 6, 12)
local area = createCombatArea(AREA_CROSS5X5)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Queria que se o player tivesse x storage, a magia teria outro effect, por exemplo:
efeito padrao = ICETORNADO -efeito numero 42
efeito se tivesse x storage = GIANTICE - efeito numero 52
Alguém sabe ou tem alguma ideia de como fazer isso?
Link to comment
https://xtibia.com/forum/topic/243350-resolvido-efeito-de-uma-magia-se-player-tiver-x-storage/Share on other sites
2 answers to this question
Recommended Posts