What's new

Sta?e transy [Saiyanie] - WoDBO

Status
Not open for further replies.

arcane

Active User
Joined
Jan 5, 2013
Messages
73
Reaction score
1
Witajcie. Posiadam skrypt na sta?e transy dla saiyan?w do WoDBO. Pewnie dla wielu administrator?w, b?dzie on bardzo przydatny ; ) . W skrypcie s? tak?e, transform dla Uub'a 150 bez pacc ; ).

Tworzymy plik transforms.lua [lub inny, zale?y od waszych upodoba?]

Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_OUTFIT)
setConditionParam(condition, CONDITION_PARAM_TICKS, 86400000)
addOutfitCondition(condition, 0, 71, 0, 0, 0, 0)
setCombatCondition(combat, condition)

outfit = {lookType=280}
outfit1 = {lookType=120}
outfit2 = {lookType=110}
outfit3 = {lookType=134}

outfits = {lookType=280}
outfits1 = {lookType=120}
outfits2 = {lookType=110}
outfits3 = {lookType=134}


gotenksssj = {lookType=24}
gotenksssj3 = {lookType=6}


gotenksgtssj = {lookType=169}
gotenksgtssj3 = {lookType=170}

shenrons1 = {lookType=198}
shenrons2 = {lookType=77}
shenrons3 = {lookType=257}
shenrons4 = {lookType=232}
shenrons5 = {lookType=20}
shenrons6 = {lookType=265}

gokustaly = 66
vegetastaly = 125
gohanstaly = 216
brollystaly = 154
bardockstaly = 272
trunksstaly = 100


ext = 1000
--- Stale Transy ---

---Janemba---
function trans(cid)
if getPlayerVocation(cid) == 304 then	
if getPlayerMana(cid) >= 0 then	 
		doSendMagicEffect(getPlayerPosition(cid), 180)     
            addEvent(trans,ext,cid)

      end
   end
end



function trans1(cid)
if getPlayerVocation(cid) == 305 then	
if getPlayerMana(cid) >= 0 then	                  
            addEvent(trans1,ext,cid)
      end
   end
end


function trans2(cid)
if getPlayerVocation(cid) == 306 then	
if getPlayerMana(cid) >= 0 then	                  
            addEvent(trans1,ext,cid)

      end
   end
end


function trans3(cid)
if getPlayerVocation(cid) == 307 then	
if getPlayerMana(cid) >= 0 then	                   
            addEvent(trans1,ext,cid)

      end
   end
end


---End Janemba---






---Reborn Janemba---
function trans4(cid)
if getPlayerVocation(cid) == 309 then	
if getPlayerMana(cid) >= 0 then	
		doSendMagicEffect(getPlayerPosition(cid), 14)     
            addEvent(trans4,ext,cid)
      end
   end
end



function trans5(cid)
if getPlayerVocation(cid) == 310 then	
if getPlayerMana(cid) >= 0 then	
		doSendMagicEffect(getPlayerPosition(cid), 181)                   
            addEvent(trans5,ext,cid)
      end
   end
end


function trans6(cid)
if getPlayerVocation(cid) == 311 then	
if getPlayerMana(cid) >= 0 then	
		doSendMagicEffect(getPlayerPosition(cid), 14)                       
            addEvent(trans6,ext,cid)
      end
   end
end


function trans7(cid)
if getPlayerVocation(cid) == 312 then	
if getPlayerMana(cid) >= 0 then	  
		doSendMagicEffect(getPlayerPosition(cid), 14)                     
            addEvent(trans7,ext,cid)

      end
   end
end
--- Reborn Janemba End ---


--- Gotenks ---
function fusion(cid)
if getPlayerVocation(cid) == 314 then	
if getPlayerMana(cid) >= 0 then	
		doSendMagicEffect(getPlayerPosition(cid), 14)                    
            addEvent(fusion,ext,cid)
      end
   end
end

function fusion1(cid)
if getPlayerVocation(cid) == 315 then	
if getPlayerMana(cid) >= 0 then	
		doSendMagicEffect(getPlayerPosition(cid), 234)                    
            addEvent(fusion1,ext,cid)
      end
   end
end

function fusionchibi(cid)
if getPlayerVocation(cid) == 317 then	
if getPlayerMana(cid) >= 0 then	
		doSendMagicEffect(getPlayerPosition(cid), 234)                    
            addEvent(fusionchibi,ext,cid)
      end
   end
end

function fusionchibi2(cid)
if getPlayerVocation(cid) == 318 then	
if getPlayerMana(cid) >= 0 then	
		doSendMagicEffect(getPlayerPosition(cid), 234)                    
            addEvent(fusionchibi2,ext,cid)
      end
   end
end



--- Gotenks End ---

--- Gotenks Reborn ---
function fusion2(cid)
if getPlayerVocation(cid) == 320 then	
if getPlayerMana(cid) >= 0 then	
		doSendMagicEffect(getPlayerPosition(cid), 234)                    
            addEvent(fusion2,ext,cid)
      end
   end
end

function fusion3(cid)
if getPlayerVocation(cid) == 321 then	
if getPlayerMana(cid) >= 0 then	
		doSendMagicEffect(getPlayerPosition(cid), 234)                    
            addEvent(fusion3,ext,cid)
      end
   end
end


function fusionchibigt(cid)
if getPlayerVocation(cid) == 323 then	
if getPlayerMana(cid) >= 0 then	
		doSendMagicEffect(getPlayerPosition(cid), 234)                    
            addEvent(fusionchibigt,ext,cid)
      end
   end
end

function fusionchibigt1(cid)
if getPlayerVocation(cid) == 324 then	
if getPlayerMana(cid) >= 0 then	
		doSendMagicEffect(getPlayerPosition(cid), 234)                    
            addEvent(fusionchibigt1,ext,cid)
      end
   end
end

--- Chibi Trunks Transform ---



--- Gotenks Reborn End ---




--- Shenron ---

function shenron(cid)
if getPlayerVocation(cid) == 330 then	
if getPlayerMana(cid) >= 0 then	         
		doSendMagicEffect(getPlayerPosition(cid), 13)             
            addEvent(shenron,ext,cid)
      end
   end
end


function shenron2(cid)
if getPlayerVocation(cid) == 331 then	
if getPlayerMana(cid) >= 0 then	      
		doSendMagicEffect(getPlayerPosition(cid), 13)                
            addEvent(shenron2,ext,cid)

      end
   end
end


function shenron3(cid)
if getPlayerVocation(cid) == 332 then	
if getPlayerMana(cid) >= 0 then	  
		doSendMagicEffect(getPlayerPosition(cid), 13)                     
            addEvent(shenron3,ext,cid)

      end
   end
end

function shenron4(cid)
if getPlayerVocation(cid) == 333 then	
if getPlayerMana(cid) >= 0 then	 
		doSendMagicEffect(getPlayerPosition(cid), 13)                     
            addEvent(shenron4,ext,cid)
      end
   end
end


function shenron5(cid)
if getPlayerVocation(cid) == 334 then	
if getPlayerMana(cid) >= 0 then	   
		doSendMagicEffect(getPlayerPosition(cid), 13)                   
            addEvent(shenron5,ext,cid)

      end
   end
end


function shenron6(cid)
if getPlayerVocation(cid) == 335 then	
if getPlayerMana(cid) >= 0 then	        
		doSendMagicEffect(getPlayerPosition(cid), 13)               
            addEvent(shenron6,ext,cid)

      end
   end
end
--- Shenron Reborn ---
function shenrongt(cid)
if getPlayerVocation(cid) == 337 then	
if getPlayerMana(cid) >= 0 then	  
		doSendMagicEffect(getPlayerPosition(cid), 180)                     
            addEvent(shenrongt,ext,cid)

      end
   end
end

function shenrongt1(cid)
if getPlayerVocation(cid) == 338 then	
if getPlayerMana(cid) >= 0 then	 
		doSendMagicEffect(getPlayerPosition(cid), 180)                     
            addEvent(shenrongt1,ext,cid)
      end
   end
end


function shenrongt2(cid)
if getPlayerVocation(cid) == 339 then	
if getPlayerMana(cid) >= 0 then	   
		doSendMagicEffect(getPlayerPosition(cid), 180)                   
            addEvent(shenrongt2,ext,cid)

      end
   end
end


function shenrongt3(cid)
if getPlayerVocation(cid) == 340 then	
if getPlayerMana(cid) >= 0 then	        
		doSendMagicEffect(getPlayerPosition(cid), 180)               
            addEvent(shenrongt3,ext,cid)

      end
   end
end

--- Shenron End ---


function onCastSpell(cid, var)

---Janemba---

if getPlayerVocation(cid) == 303 then	
    if getPlayerLevel(cid) >= 50 then
      doPlayerSetVocation(cid,304)
         doSetCreatureOutfit(cid, outfit, -1) 
      addEvent(trans,ext,cid) 
	  	 doSendMagicEffect(getPlayerPosition(cid), 233) 
else
doPlayerSendCancel(cid, "You need 50 level to first transform")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

elseif getPlayerVocation(cid) == 304 then	
    if getPlayerLevel(cid) >= 100 then
      doPlayerSetVocation(cid,305) 
      addEvent(trans1,ext,cid) 
	 doSendMagicEffect(getPlayerPosition(cid), 33)
            doSetCreatureOutfit(cid, outfit1, -1)

else
doPlayerSendCancel(cid, "You need 100 level to next transform")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

elseif getPlayerVocation(cid) == 305 then	
    if getPlayerLevel(cid) >= 150 then
      doPlayerSetVocation(cid,306) 
      addEvent(trans2,ext,cid) 
	  		doSendMagicEffect(getPlayerPosition(cid), 18) 
            doSetCreatureOutfit(cid, outfit2, -1)

else
doPlayerSendCancel(cid, "You need 150 level to next transform")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end



elseif getPlayerVocation(cid) == 306 then	
    if getPlayerLevel(cid) >= 200 then
      doPlayerSetVocation(cid,307) 
      addEvent(trans3,ext,cid) 
	  		doSendMagicEffect(getPlayerPosition(cid), 243)   
            doSetCreatureOutfit(cid, outfit3, -1)

else
doPlayerSendCancel(cid, "You need 200 level to next transform")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end


--- Reborn ---

elseif getPlayerVocation(cid) == 308 then	
    if getPlayerLevel(cid) >= 50 then
      doPlayerSetVocation(cid,309) 
      addEvent(trans4,ext,cid) 
	  	  		doSendMagicEffect(getPlayerPosition(cid), 7) 
            doSetCreatureOutfit(cid, outfits, -1)

else
doPlayerSendCancel(cid, "You need 50 level to next transform")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end



elseif getPlayerVocation(cid) == 309 then	
    if getPlayerLevel(cid) >= 100 then
      doPlayerSetVocation(cid,310) 
      addEvent(trans5,ext,cid) 
	  	  	  		doSendMagicEffect(getPlayerPosition(cid), 33)   
            doSetCreatureOutfit(cid, outfits1, -1)

else
doPlayerSendCancel(cid, "You need 100 level to next transform")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

elseif getPlayerVocation(cid) == 310 then	
    if getPlayerLevel(cid) >= 150 then
      doPlayerSetVocation(cid,311) 
      addEvent(trans6,ext,cid) 
	  		doSendMagicEffect(getPlayerPosition(cid), 18) 
            doSetCreatureOutfit(cid, outfits2, -1)

else
doPlayerSendCancel(cid, "You need 150 level to next transform")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end


elseif getPlayerVocation(cid) == 311 then	
    if getPlayerLevel(cid) >= 200 then
      doPlayerSetVocation(cid,312) 
      addEvent(trans7,ext,cid) 
	  		doSendMagicEffect(getPlayerPosition(cid), 243)   
            doSetCreatureOutfit(cid, outfits3, -1)

else
doPlayerSendCancel(cid, "You need 200 level to next transform")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

---End Janemba? ---
--- Gotenks ---
elseif getPlayerVocation(cid) == 313 then	
    if getPlayerLevel(cid) >= 150 then
      doPlayerSetVocation(cid,314) 
      addEvent(fusion,ext,cid) 
            doSetCreatureOutfit(cid, gotenksssj, -1)
		doSendMagicEffect(getPlayerPosition(cid), 63) 

else
doPlayerSendCancel(cid, "Gotenks! You need 150 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

elseif getPlayerVocation(cid) == 314 then	
    if getPlayerLevel(cid) >= 200 then
      doPlayerSetVocation(cid,315) 
      addEvent(fusion1,ext,cid) 
            doSetCreatureOutfit(cid, gotenksssj3, -1)
		doSendMagicEffect(getPlayerPosition(cid), 64) 

else
doPlayerSendCancel(cid, "Gotenks! You need 200 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

--- Chibi ---

elseif getPlayerVocation(cid) == 316 then	
    if getPlayerLevel(cid) >= 150 then
      doPlayerSetVocation(cid,317) 
      addEvent(fusionchibi,ext,cid) 
            doSetCreatureOutfit(cid, gotenksssj, -1)
     	setPlayerStorageValue(cid,20235,1)
		doSendMagicEffect(getPlayerPosition(cid), 63) 

else
doPlayerSendCancel(cid, "Gotenks! You need 150 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

elseif getPlayerVocation(cid) == 317 then	
    if getPlayerLevel(cid) >= 200 then
      doPlayerSetVocation(cid,318) 
      addEvent(fusionchibi2,ext,cid) 
            doSetCreatureOutfit(cid, gotenksssj3, -1)
     	setPlayerStorageValue(cid,20235,2)
		doSendMagicEffect(getPlayerPosition(cid), 64) 

else
doPlayerSendCancel(cid, "Gotenks! You need 200 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end


--- Reborn ---
--- Goten ---

elseif getPlayerVocation(cid) == 319 then	
    if getPlayerLevel(cid) >= 150 then
      doPlayerSetVocation(cid,320) 
      addEvent(fusion2,ext,cid) 
            doSetCreatureOutfit(cid, gotenksgtssj, -1)
		doSendMagicEffect(getPlayerPosition(cid), 63) 

else
doPlayerSendCancel(cid, "Gotenks GT! You need 150 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

elseif getPlayerVocation(cid) == 320 then	
    if getPlayerLevel(cid) >= 200 then
      doPlayerSetVocation(cid,321) 
      addEvent(fusion3,ext,cid) 
            doSetCreatureOutfit(cid, gotenksgtssj3, -1)
		doSendMagicEffect(getPlayerPosition(cid), 64) 

else
doPlayerSendCancel(cid, "Gotenks GT! You need 200 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

--- Chibi Trunks ---

elseif getPlayerVocation(cid) == 322 then	
    if getPlayerLevel(cid) >= 150 then
      doPlayerSetVocation(cid,323) 
      addEvent(fusionchibigt,ext,cid) 
            doSetCreatureOutfit(cid, gotenksgtssj, -1)
     	setPlayerStorageValue(cid,20236,3)
		doSendMagicEffect(getPlayerPosition(cid), 63) 

else
doPlayerSendCancel(cid, "Gotenks GT! You need 150 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

elseif getPlayerVocation(cid) == 323 then	
    if getPlayerLevel(cid) >= 200 then
      doPlayerSetVocation(cid,324) 
      addEvent(fusionchibigt1,ext,cid) 
            doSetCreatureOutfit(cid, gotenksgtssj3, -1)
     	setPlayerStorageValue(cid,20236,4)
		doSendMagicEffect(getPlayerPosition(cid), 64) 

else
doPlayerSendCancel(cid, "Gotenks GT! You need 200 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end



---End Janemba and others---

--- Shenron ---

elseif getPlayerVocation(cid) == 329 then	
    if getPlayerLevel(cid) >= 30 then
      doPlayerSetVocation(cid,330) 
      addEvent(shenron,ext,cid) 
            doSetCreatureOutfit(cid, shenrons1, -1)
		doSendMagicEffect(getPlayerPosition(cid), 75) 

else
doPlayerSendCancel(cid, "Shenron, You need 30 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

elseif getPlayerVocation(cid) == 330 then	
    if getPlayerLevel(cid) >= 50 then
      doPlayerSetVocation(cid,331) 
      addEvent(shenron2,ext,cid) 
            doSetCreatureOutfit(cid, shenrons2, -1)
		doSendMagicEffect(getPlayerPosition(cid), 233) 

else
doPlayerSendCancel(cid, "Shenron, You need 50 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

elseif getPlayerVocation(cid) == 331 then	
    if getPlayerLevel(cid) >= 75 then
      doPlayerSetVocation(cid,332) 
      addEvent(shenron3,ext,cid) 
            doSetCreatureOutfit(cid, shenrons3, -1)
		doSendMagicEffect(getPlayerPosition(cid), 75) 

else
doPlayerSendCancel(cid, "Shenron, You need 75 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end


elseif getPlayerVocation(cid) == 332 then	
    if getPlayerLevel(cid) >= 100 then
      doPlayerSetVocation(cid,333) 
      addEvent(shenron4,ext,cid) 
            doSetCreatureOutfit(cid, shenrons4, -1)
		doSendMagicEffect(getPlayerPosition(cid), 75) 

else
doPlayerSendCancel(cid, "Shenron, You need 100 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

elseif getPlayerVocation(cid) == 333 then	
    if getPlayerLevel(cid) >= 150 then
      doPlayerSetVocation(cid,334) 
      addEvent(shenron5,ext,cid) 
            doSetCreatureOutfit(cid, shenrons5, -1)
		doSendMagicEffect(getPlayerPosition(cid), 233) 

else
doPlayerSendCancel(cid, "Shenron, You need 150 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end


elseif getPlayerVocation(cid) == 334 then	
    if getPlayerLevel(cid) >= 200 then
      doPlayerSetVocation(cid,335) 
      addEvent(shenron6,ext,cid) 
            doSetCreatureOutfit(cid, shenrons6, -1)
		doSendMagicEffect(getPlayerPosition(cid), 75) 

else
doPlayerSendCancel(cid, "Shenron, You need 200 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

--- Shenron Reborn ---

elseif getPlayerVocation(cid) == 336 then	
    if getPlayerLevel(cid) >= 50 then
      doPlayerSetVocation(cid,337) 
      addEvent(shenrongt,ext,cid) 
            doSetCreatureOutfit(cid, shenrons2, -1)
		doSendMagicEffect(getPlayerPosition(cid), 75) 

else
doPlayerSendCancel(cid, "Shenron, You need 50 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end


elseif getPlayerVocation(cid) == 337 then	
    if getPlayerLevel(cid) >= 100 then
      doPlayerSetVocation(cid,338) 
      addEvent(shenrongt1,ext,cid) 
            doSetCreatureOutfit(cid, shenrons3, -1)
		doSendMagicEffect(getPlayerPosition(cid), 75) 

else
doPlayerSendCancel(cid, "Shenron, You need 100 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

elseif getPlayerVocation(cid) == 338 then	
    if getPlayerLevel(cid) >= 150 then
      doPlayerSetVocation(cid,339) 
      addEvent(shenrongt2,ext,cid) 
            doSetCreatureOutfit(cid, shenrons4, -1)
		doSendMagicEffect(getPlayerPosition(cid), 233) 
doPlayerSendCancel(cid, "Success Transform.")
else
doPlayerSendCancel(cid, "Shenron, You need 150 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end


elseif getPlayerVocation(cid) == 339 then	
    if getPlayerLevel(cid) >= 200 then
      doPlayerSetVocation(cid,340) 
      addEvent(shenrongt3,ext,cid) 
            doSetCreatureOutfit(cid, shenrons6, -1)
		doSendMagicEffect(getPlayerPosition(cid), 75) 

else
doPlayerSendCancel(cid, "Shenron, You need 200 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

--- Shenron End ---



--- Stale Transy ---


elseif getPlayerVocation(cid) == 205 then	
    if getPlayerLevel(cid) >= 200 then
      doPlayerSetVocation(cid,341) 
            doSetOutfit(cid, gokustaly)
		doSendMagicEffect(getPlayerPosition(cid), 75) 

else
doPlayerSendCancel(cid, "Goku, You need 200 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

elseif getPlayerVocation(cid) == 218 then	
    if getPlayerLevel(cid) >= 200 then
      doPlayerSetVocation(cid,342) 

            doSetOutfit(cid, vegetastaly)
		doSendMagicEffect(getPlayerPosition(cid), 75) 

else
doPlayerSendCancel(cid, "Vegeta, You need 200 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

elseif getPlayerVocation(cid) == 212 then	
    if getPlayerLevel(cid) >= 200 then
      doPlayerSetVocation(cid,343) 
 
            doSetOutfit(cid, gohanstaly)
		doSendMagicEffect(getPlayerPosition(cid), 75) 

else
doPlayerSendCancel(cid, "Gohan, You need 200 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end


elseif getPlayerVocation(cid) == 272 then	
    if getPlayerLevel(cid) >= 200 then
      doPlayerSetVocation(cid,344) 
            doSetOutfit(cid, brollystaly)
		doSendMagicEffect(getPlayerPosition(cid), 75) 

else
doPlayerSendCancel(cid, "Brolly, You need 200 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end

elseif getPlayerVocation(cid) == 290 then	
    if getPlayerLevel(cid) >= 200 then
      doPlayerSetVocation(cid,345) 
            doSetOutfit(cid, bardockstaly)
		doSendMagicEffect(getPlayerPosition(cid), 75) 

else
doPlayerSendCancel(cid, "Bardock, You need 200 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end


elseif getPlayerVocation(cid) == 225 then	
    if getPlayerLevel(cid) >= 200 then
      doPlayerSetVocation(cid,346) 
            doSetOutfit(cid, trunksstaly)
		doSendMagicEffect(getPlayerPosition(cid), 75) 

else
doPlayerSendCancel(cid, "Trunks, You need 200 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2)
end

elseif getPlayerVocation(cid) == 107 then	
    if getPlayerLevel(cid) >= 150 then
      doPlayerSetVocation(cid,108) 
            doSetOutfit(cid, 282)
	doPlayerAddHealthMax(cid,10000)
	doPlayerAddManaMax(cid,10000)
		doSendMagicEffect(getPlayerPosition(cid), 75) 

else
doPlayerSendCancel(cid, "Uub, You need 150 level to transform.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 

end
--- end ---

else
doPlayerSendCancel(cid, "You cannot be stronger.")
		doSendMagicEffect(getPlayerPosition(cid), 2) 
end
end

Potem dodajemy do vocations.xml na samym ko?cu vokacje.

Code:
<vocation id="341" name="Super Saiyan 4 Goku Staly" description="a goku" gaincap="50" gainhp="270" gainmana="230" gainhpticks="6" gainhpamount="400" gainmanaticks="3" gainmanaamount="400" manamultiplier="1.1" attackspeed="200" soulmax="200" gainsoulticks="120" lostexp="3" lostmlv="3" lostskill="3" distdamage="70"  meledamage="250" kidamage="12" corpse="6031" charge="17">
<skill id="0" multiplier="3.0"/>
<skill id="1" multiplier="2.0"/>
<skill id="2" multiplier="3.0"/>
<skill id="3" multiplier="1.1"/>
<skill id="4" multiplier="3.0"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="342" name="Super Saiyan 4 Vegeta Staly" description="a vegeta" gaincap="50" gainhp="280" gainmana="220" gainhpticks="6" gainhpamount="400" gainmanaticks="3" gainmanaamount="400" manamultiplier="1.1" attackspeed="200" soulmax="200" gainsoulticks="120" lostexp="3" lostmlv="3" lostskill="3" distdamage="70"  meledamage="250" kidamage="12" corpse="6063" charge="17">
<skill id="0" multiplier="3.0"/>
<skill id="1" multiplier="3.0"/>
<skill id="2" multiplier="3.0"/>
<skill id="3" multiplier="1.1"/>
<skill id="4" multiplier="2.0"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="343" name="Super Saiyan 4 Gohan Staly" description="a gohan" gaincap="50" gainhp="240" gainmana="260" gainhpticks="6" gainhpamount="400" gainmanaticks="3" gainmanaamount="400" manamultiplier="1.1" attackspeed="200" soulmax="200" gainsoulticks="120" lostexp="3" lostmlv="3" lostskill="3" distdamage="70"  meledamage="250" kidamage="12" corpse="2886" charge="17">
<skill id="0" multiplier="3.0"/>
<skill id="1" multiplier="3.0"/>
<skill id="2" multiplier="2.0"/>
<skill id="3" multiplier="1.1"/>
<skill id="4" multiplier="3.0"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="344" name="Brolly SSJ4 Gt Staly" description="a brolly" gaincap="50" gainhp="300" gainmana="200" gainhpticks="6" gainhpamount="400" gainmanaticks="3" gainmanaamount="400" manamultiplier="1.1" attackspeed="200" soulmax="200" gainsoulticks="120" lostexp="3" lostmlv="3" lostskill="3" distdamage="70"  meledamage="300" kidamage="12" corpse="3016" charge="17">
<skill id="0" multiplier="3.0"/>
<skill id="1" multiplier="3.0"/>
<skill id="2" multiplier="3.0"/>
<skill id="3" multiplier="1.1"/>
<skill id="4" multiplier="1.1"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="345" name="Bardock SSJ4 Staly" description="a bardock" gaincap="50" gainhp="250" gainmana="250" gainhpticks="6" gainhpamount="400" gainmanaticks="3" gainmanaamount="400" manamultiplier="1.1" attackspeed="200" soulmax="200" gainsoulticks="120" lostexp="3" lostmlv="3" lostskill="3" distdamage="70"  meledamage="300" kidamage="12" corpse="2902" charge="17">
<skill id="0" multiplier="3.0"/>
<skill id="1" multiplier="3.0"/>
<skill id="2" multiplier="3.0"/>
<skill id="3" multiplier="1.1"/>
<skill id="4" multiplier="1.1"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
</vocation>
<vocation id="346" name="Super Saiyan 4 Trunks Staly" description="a trunks" gaincap="50" gainhp="260" gainmana="240" gainhpticks="6" gainhpamount="400" gainmanaticks="3" gainmanaamount="400" manamultiplier="1.1" attackspeed="200" soulmax="200" gainsoulticks="120" lostexp="3" lostmlv="3" lostskill="3" distdamage="70"  meledamage="250" kidamage="12" corpse="2989" charge="17">
<skill id="0" multiplier="3.0"/>
<skill id="1" multiplier="3.0"/>
<skill id="2" multiplier="1.1"/>
<skill id="3" multiplier="2.0"/>
<skill id="4" multiplier="3.0"/>
<skill id="5" multiplier="1.1"/>
<skill id="6" multiplier="1.1"/>
</vocation>

Potem musimy przerobi? czary dla tych vokacji, czyli pod ka?dym czarem jaki chcecie da? dla tej profesji dodajemy t? vokacje.
np.:

Code:
<instant name="Ring Jyou No" words="ring jyou no" needtarget="1" direction="1" lvl="200" maglv="110"  mana="10000" soul="0" exhaustion="1" prem="0" enabled="1" script="Ring Jyou No.lua">
<vocation name="Vegeta GT"/>
<vocation name="Vegeta SSJ GT"/>
<vocation name="Vegeta SSJ2 GT"/>
<vocation name="Full Vegeta SSJ2 GT"/>
<vocation name="Vegeta Golden Oozaru"/>
<vocation name="Super Saiyan 4 Vegeta"/>
<vocation name="Super Saiyan 4 Vegeta Staly"/>
</instant>

oraz w spells.xml dodajemy

Code:
<instant name="Transforms" words="transforms" aggressive="0" params="1" lvl="1" maglv="0" mana="0" soul="0" exhaustion="1" prem="0" enabled="1" script="transforms.lua"></instant>

Oceniajcie ;)
 

Restles

Senior User
Joined
Aug 31, 2012
Messages
616
Reaction score
51
Odp: Sta?e transy [Saiyanie] - WoDBO

Ale najebanego tego kodu z transa. . . 780 linijek, og??em nie jest fajny :>
 

arcane

Active User
Joined
Jan 5, 2013
Messages
73
Reaction score
1
Odp: Sta?e transy [Saiyanie] - WoDBO

Tu s? tak?e 2 nowe profki Janemba i Shenron, je?eli kto? b?dzie chcia? je sobie doda? to pode?l? vokacj? i czary. Sta?e transy s? dobr? spraw? do silnika wodbo bez sourc'a. ;). Lepiej taki skrypt ni? ?aden.
 
Last edited:

Vanzil1

Active User
Joined
Jun 1, 2013
Messages
88
Reaction score
6
Odp: Sta?e transy [Saiyanie] - WoDBO

dobra robota, all ?miga
 

Ematerion

Advanced User
Joined
Feb 18, 2013
Messages
176
Reaction score
5
Odp: Sta?e transy [Saiyanie] - WoDBO

No, no, skrypt ?adny. Na pewno mi si? przyda ; - )
 

Dantez

Moim sekretem jest ciasto
Joined
May 22, 2008
Messages
1,206
Reaction score
202
Odp: Sta?e transy [Saiyanie] - WoDBO

Code:
setConditionParam(condition, CONDITION_PARAM_TICKS, 86400000)
Nauczcie si? kurwa w ko?cu, ?e -1 = forever.

Sam kod og??em syfiasty, lepiej zastosowa? tablic?. Szkoda gada?.

Oceniajcie ;)
Syf. 0/10

@down
Nie mieszam Ciebie, tylko skrypt.
 
Last edited:

arcane

Active User
Joined
Jan 5, 2013
Messages
73
Reaction score
1
Odp: Sta?e transy [Saiyanie] - WoDBO

Jestem pocz?tkuj?cy w tych sprawach, wi?c nie musia?e? mnie profesjonalisto miesza? z b?otem -.-.
@up
jak pisalem wcze?niej, lepszy skrypt taki ni? ?aden. Skrypt si? napewno przyda bo nie znalaz?em owego na forum.
 
Last edited:

Restles

Senior User
Joined
Aug 31, 2012
Messages
616
Reaction score
51
Odp: Sta?e transy [Saiyanie] - WoDBO

Nie znalaz?e? bo ten skrypt to g?wno z najebanym kodem kt?ry tak naprawd? nic nie daje opr?cz przemiany w new voc. Wi?c nie wiem czemu piszesz ?e lepszy taki skrypt ni? ?aden skoro w google s? o wiele lepsze ni? ten Tw?j, i to co powiedzia? Dantez z zastosowaniem tablicy.
 

arcane

Active User
Joined
Jan 5, 2013
Messages
73
Reaction score
1
Odp: Sta?e transy [Saiyanie] - WoDBO

ten skrypt zmienia vokacje daj?c nam sta?y transform dla saiyanow oraz daje nam mo?liwo?? zrobienia transa 150 bez pacc dla Uub'a. Wstawi?em go bo na wielu serwerach nie ma sta?ych trans?w a na pewno si? przyda. :)
 

Restles

Senior User
Joined
Aug 31, 2012
Messages
616
Reaction score
51
Odp: Sta?e transy [Saiyanie] - WoDBO

H@H@H@ sta?ych trans?w nie ma? jak grasz na jakim? shit'cie to pewno nie ma, wystarczy cofn?? na odpowiedni fromvoc i b?dziesz mia? sta?y trans. . .
 
Status
Not open for further replies.
Top