What's new

Skrypty & Kody Problem ze spellem PokeTibia

kite28

Advanced User
Joined
Nov 11, 2011
Messages
178
Reaction score
1
Siemka mam problem ze stworzeniem spell a bardzo prosi?bym o pomoc chodzi o to , ?eby spell bi? jednocze?nie w takiej pozycji pojedy?czo 0 tam gdzie ma nie bi? 1 tam gdzie ma bi? i 2 tam gzie stoimy, i tak kilka razy ?eby si? powtarza? x razy np 1 lub 3 . Za pomoc daje reputa, u mnie poni?ej wygl?da?o to tak ale nie wychodzi?o.

[0], [0], [1]
[0], [2], [0]
[1], [0], [0]
,
[0], [1], [0]
[0], [2], [0]
[0], [1], [0]
,
[1], [0], [0]
[0], [2], [0]
[0], [0], [1]
,
[0], [0], [0]
[1], [2], [1]
[0], [0], [0]
elseif spell == "Water Pledge" then

local function sendEff(cid, dir)
if not isCreature(cid) then return true end
doAreaCombatHealth(cid, WATERDAMAGE, getPosByDir(getThingPosWithDebug(cid), dir), 0, -min, -max, 96)
end

local function doStick(cid)
if not isCreature(cid) then return true end
local t = {
[1] = SOUTH,
[2] = EAST,
[3] = NORTH,
[4] = WEST,
[5] = SOUTH,
[6] = EAST,
[7] = NORTH,
[8] = WEST,
[9] = SOUTH,
[10] = EAST,
[11] = NORTH,
[12] = WEST,

}
for a = 1, 12 do
addEvent(sendEff, a * 200, cid, t[a])
end
end
 

Arkam

Forum friend
Joined
Dec 20, 2008
Messages
1,980
Reaction score
180
Odp: Problem ze spellem PokeTibia

Siemka mam problem ze stworzeniem spell a bardzo prosi?bym o pomoc chodzi o to , ?eby spell bi? jednocze?nie w takiej pozycji pojedy?czo 0 tam gdzie ma nie bi? 1 tam gdzie ma bi? i 2 tam gzie stoimy, i tak kilka razy ?eby si? powtarza? x razy np 1 lub 3 . Za pomoc daje reputa, u mnie poni?ej wygl?da?o to tak ale nie wychodzi?o.

[0], [0], [1]
[0], [2], [0]
[1], [0], [0]
,
[0], [1], [0]
[0], [2], [0]
[0], [1], [0]
,
[1], [0], [0]
[0], [2], [0]
[0], [0], [1]
,
[0], [0], [0]
[1], [2], [1]
[0], [0], [0]

elseif spell == "Water Pledge" then -- poka? ca?y ten skrypt, bo ciekaw jestem kto na taki pomys? wpad? ?eby robi? spelle na elseifie, pewnie wszystkie w 1 talkaction? ym
 
Top