Tibia Forum

Witamy na nowym Forum o Grze Tibia

Ogłoszenie

Zapraszam do dodawania zdjêæ ze swoich najlepszych OTSów na Forum Pun Portal. Wiêcej informacji tam znajdziecie !!!!

#1 2011-01-14 19:08:24

Admin

http://tibia.net.pl/images/ranks/admin.gif

Zarejestrowany: 2011-01-14
Posty: 11
Punktów :   10 

Exevo Polak

Czar jest z tibia.net.pl jednak¿e zosta³ tam dodany przeze mnie czyli Mateorixis wrazie w±tpliwo¶ci mo¿ecie do mnie napisaæ na PW.
Robimy plik czar.lua w ../data/spells/scriptis i wklejamy do niego :

Kod:

local atk1 = createCombatObject()
local atk2 = createCombatObject()
local atk3 = createCombatObject()
local atk4 = createCombatObject()
local atk5 = createCombatObject()
local atk6 = createCombatObject()
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)
setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGYBALL )
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1.5, -19000, -1.6, -19000)
local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, 36)
setCombatParam(combat2, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGYBALL )
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -1.5, -19000, -1.6, -19000)
local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat3, COMBAT_PARAM_EFFECT,CONST_ME_HEARTS)
setCombatParam(combat3, COMBAT_PARAM_DISTANCEEFFECT, 32)
setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -1.5, -19000, -1.6, -19000)
local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat4, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)
setCombatParam(combat4, COMBAT_PARAM_DISTANCEEFFECT, 32)
setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -1.5, -19000, -1.6, -19000)
local combat5 = createCombatObject()
setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat5, COMBAT_PARAM_EFFECT, CONST_ME_GIANTICE)
setCombatParam(combat5, COMBAT_PARAM_DISTANCEEFFECT, 37)
setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -1.5, -19000, -1.6, -19000)
local combat6 = createCombatObject()
setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat6, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA)
setCombatParam(combat6, COMBAT_PARAM_DISTANCEEFFECT, 37)
setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -1.5, -19000, -1.6, -19000)
arr1 = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 1, 1, 1, 2, 1, 1, 1, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
}
arr2 = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 1, 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 1},
{0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1},
}
arr5 = {
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 1, 1, 2, 1, 1, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
}
arr6 = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
}
local area1 = createCombatArea(arr1)
local area2 = createCombatArea(arr2)
local area3 = createCombatArea(arr3)
local area4 = createCombatArea(arr4)
local area5 = createCombatArea(arr5)
local area6 = createCombatArea(arr6)
setCombatArea(atk1, area1)
setCombatArea(atk2, area2)
setCombatArea(atk3, area3)
setCombatArea(atk4, area4)
setCombatArea(atk5, area5)
setCombatArea(atk6, area6)
function onTargetTile(cid, pos)
doCombat(cid,combat1,positionToVariant(pos))
end
function onTargetTile2(cid, pos)
doCombat(cid,combat2,positionToVariant(pos))
end
function onTargetTile3(cid, pos)
doCombat(cid,combat3,positionToVariant(pos))
end
function onTargetTile4(cid, pos)
doCombat(cid,combat4,positionToVariant(pos))
end
function onTargetTile5(cid, pos)
doCombat(cid,combat5,positionToVariant(pos))
end
function onTargetTile6(cid, pos)
doCombat(cid,combat6,positionToVariant(pos))
end
setCombatCallback(atk1, CALLBACK_PARAM_TARGETTILE, "onTargetTile")
setCombatCallback(atk2, CALLBACK_PARAM_TARGETTILE, "onTargetTile2")
setCombatCallback(atk3, CALLBACK_PARAM_TARGETTILE, "onTargetTile3")
setCombatCallback(atk4, CALLBACK_PARAM_TARGETTILE, "onTargetTile4")
setCombatCallback(atk5, CALLBACK_PARAM_TARGETTILE, "onTargetTile5")
setCombatCallback(atk6, CALLBACK_PARAM_TARGETTILE, "onTargetTile6")
local function onCastSpell1(parameters)
doCombat(parameters.cid, atk1, parameters.var)
end
local function onCastSpell2(parameters)
doCombat(parameters.cid, atk2, parameters.var)
end
local function onCastSpell3(parameters)
doCombat(parameters.cid, atk3, parameters.var)
end
local function onCastSpell4(parameters)
doCombat(parameters.cid, atk4, parameters.var)
end
local function onCastSpell5(parameters)
doCombat(parameters.cid, atk5, parameters.var)
end
local function onCastSpell6(parameters)
doCombat(parameters.cid, atk6, parameters.var)
end
function onCastSpell(cid, var)
local parameters = { cid = cid, var = var}
addEvent(onCastSpell1, 100, parameters)
addEvent(onCastSpell2, 250, parameters)
addEvent(onCastSpell3, 490, parameters)
addEvent(onCastSpell4, 600, parameters)
addEvent(onCastSpell5, 1200, parameters)
addEvent(onCastSpell6, 2000, parameters)
end

Czar jest zbilansowany odpowiednio do mojego OTS wiêc dmg najlepiej zmieniæ.
Teraz dodajemy do .../data/spells/spells.xml linijkê :

Kod:

<instant name="Czar" words="czar" lvl="2000" maglv="10" mana="5000" soul="0" exhaustion="1" prem="1" enabled="1" script="czar.lua"><vocation id="1"/><vocation id="2"/><vocation id="3"/><vocation id="4"/><vocation id="5"/><vocation id="6"/><vocation id="7"/><vocation id="8"/></instant>

No i to by by³o na tyle proszê o komentarze pozytywne i negatywne.
[size=+3] Za nie d³ugo dodam SS-y[/size]
#edit
SSy :   tylko tyle bo nie chcê mi siê robiæ ale widaæ mniej wiêcej jak wygl±da

http://z1.przeklej.pl/prze720/0eb7f5dc001b13794d123471/za.png
http://z1.przeklej.pl/prze1142/035f0a900011272e4d123502/zb.png
YouTube - clip0054 Tu jest filmik jest strasznie szybko ale co¶ tam widaæ
KOMENTUJCIE

Offline

 

#2 2011-02-03 15:31:44

kamilosek1999

http://tibia.net.pl/images/ranks/uzytkownik.gif

Zarejestrowany: 2011-02-03
Posty: 3
Punktów :   -1 

Re: Exevo Polak

Fajny czar

Offline

 

#3 2012-01-19 15:55:20

ADAM

http://tibia.net.pl/images/ranks/uzytkownik.gif

Zarejestrowany: 2012-01-19
Posty: 4
Punktów :   

Re: Exevo Polak

OOo tego wlasnie szukalem wyprobowalem na silniku Aciek Fajny


Yo Yo Yo Yo Yo Yo

Offline

 

Stopka forum

RSS
Powered by PunBB
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi


Darmowe Forum | Ciekawe Fora | Darmowe Fora
www.ps3forum.pun.pl www.realserwer.pun.pl www.naszeswinkimorskie.pun.pl www.big-craft.pun.pl www.rekrutsg.pun.pl