• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

7.6 spells problem

sir2101818

Banned User
Joined
Apr 2, 2010
Messages
19
Reaction score
0
Location
mielec
PHP:
area = {
    {0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0},
    {2, 2, 2, 2, 2, 1, 1, 1, 3, 3, 3, 3, 3},
    {2, 2, 2, 2, 2, 2, 0, 3, 3, 3, 3, 3, 3},
    {2, 2, 2, 2, 2, 4, 4, 4, 3, 3, 3, 3, 3},
    {0, 0, 0, 0, 0, 4, 4, 4, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 4, 4, 4, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 4, 4, 4, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 4, 4, 4, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 4, 4, 4, 0, 0, 0, 0, 0}
    }
 
 attackType = ATTACK_ENERGY
 needDirection = true
 areaEffect = NM_ME_ENERGY_AREA
 animationEffect = NM_ANI_NONE
 
 hitEffect = NM_ME_ENERGY_DAMAGE
 damageEffect = NM_ME_ENERGY_DAMAGE
 animationColor = RED
 offensive = true
 drawblood = true
 
 EnergyWaveObject = MagicDamageObject(attackType, animationEffect, 

hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0)
 
 function onCast(cid, creaturePos, level, maglv, var)
 centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z}
  EnergyWaveObject.minDmg = ((level * 3 + maglv * 5) * 4.1)
 EnergyWaveObject.maxDmg = ((level * 3 + maglv * 5) * 4.4)
 
 return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, 

EnergyWaveObject:ordered())
 end
spells 2.jpg
aa.jpg

mam problem, bo nie wiem jak zrobić aby z kazdej strony było tak samo czy 3 sqm szerokości przedemna. Nie wiem jak to zrobić bo nie ma gdzie tego wpisać. Chce żeby było jak na sreenie 1 w każda strone.
 
Last edited:
1 wszedzie nie moga być bo wtedy bije w kazde strone, bez zaleznosci w jakim kierunku sie ustawie, wiec musi byc cos 1, 2, 3, 4,

- - - Updated - - -

@refresh@
 
Back
Top