[ALL] Transformação Por Imagem
+49
srloks
NeeTo
luislass
Kooringa
PortigasDR
Shinigami†
Diegotmtp
Ricardo
VegetasupremoMaker
wagnii
hardsfree
igorlindinho
Lucas Roberto
nicholas
lraniel
brendon
gtalux
Devil
Master-Man
SkyZero
soute
morenoo
DshFox
jeansales
mamaka
Linkin ~
snool
V-Force
Rio Absolut
guuh
DaniloNUnes
playsson14z
Cris~
victorlarios
Darkmg
Gu1lh3rm3
DrayonDuarte
wesl sikeira
felipebn
St4rk
putolinoxd
extreme
Pablo
Lucas Lôpo
kakaroto
Karlos
klinton-1234
hornet600
Lendário
53 participantes
MMORPG Brasil :: OPEN SOURCE ENGINES :: Outras Engines :: Elysium :: Tutoriais
Página 1 de 7
Página 1 de 7 • 1, 2, 3, 4, 5, 6, 7
[ALL] Transformação Por Imagem
Atentendo ao pedido do Bardock, estou fazendo o tutorial. É algo sistema, porém pode dar trabalho. É um tutorial que ao clicar em uma imagem, você irá se transformar. Neste tutorial, fiz com 4 transformações.
O primeiro passo é criar uma pasta dentro da GFX. Após isso, mude o nome da pasta para Fotos. Agora, criei mais 2 pastas, uma com o nome de Goku e a outra de Vegeta. Lá você coloca 5 fotos para o Goku:
E 4 na pasta Vegeta:
Client~Side
Agora, vá na frmMirage, crie 5 imagens, com os nomes:
Dê duplo clique na picTrans0 e adicione:
Na picTrans1:
Na picTrans2:
Na picTrans3:
Na picTrans4:
Procure por:
Embaixo adicione:
Agora procure por:
Embaixo adicione:
Server~Side
Procure por:
Adicione embaixo:
Agora no final do modServerTCP, adicione:
E para concluir, no final da Sub JoinGame(ByVal Index As Long), adicione:
É isso. Lembrando que no tutorial não existe transformação para a classe 3.
Créditos: Lenon ~ e PRODEV
O primeiro passo é criar uma pasta dentro da GFX. Após isso, mude o nome da pasta para Fotos. Agora, criei mais 2 pastas, uma com o nome de Goku e a outra de Vegeta. Lá você coloca 5 fotos para o Goku:
E 4 na pasta Vegeta:
Client~Side
Agora, vá na frmMirage, crie 5 imagens, com os nomes:
Dê duplo clique na picTrans0 e adicione:
- Código:
Call SendTransNormal
Na picTrans1:
- Código:
Call SendTransSsj
Na picTrans2:
- Código:
Call SendTransSsj2
Na picTrans3:
- Código:
Call SendTransSsj3
Na picTrans4:
- Código:
Call SendTransSsj4
Procure por:
- Código:
Sub SendLeaveParty()
Dim Packet As String
Packet = "LEAVEPARTY" & END_CHAR
Call SendData(Packet)
End Sub
Embaixo adicione:
- Código:
Sub SendTransNormal()
Dim Packet As String
Packet = "TNORMAL" & END_CHAR
Call SendData(Packet)
End Sub
Sub SendTransSsj()
Dim Packet As String
Packet = "TSSJ" & END_CHAR
Call SendData(Packet)
End Sub
Sub SendTransSsj2()
Dim Packet As String
Packet = "TSSJ2" & END_CHAR
Call SendData(Packet)
End Sub
Sub SendTransSsj3()
Dim Packet As String
Packet = "TSSJ3" & END_CHAR
Call SendData(Packet)
End Sub
Sub SendTransSsj4()
Dim Packet As String
Packet = "TSSJ4" & END_CHAR
Call SendData(Packet)
End Sub
Agora procure por:
- Código:
If Parse(0) = "itembreak" Then
ItemDur(Val(Parse(1))).Item = Val(Parse(2))
ItemDur(Val(Parse(1))).Dur = Val(Parse(3))
ItemDur(Val(Parse(1))).done = 1
Exit Sub
End If
Embaixo adicione:
- Código:
' :::::::::::::::::::::::
' :: Class Pic request ::
' :::::::::::::::::::::::
If Parse(0) = "classpic" Then
If GetPlayerClass(MyIndex) = 1 Then
frmMirage.picTrans0.Picture = LoadPicture(App.Path & "\GFX\Fotos\Goku\0.jpg")
frmMirage.picTrans1.Picture = LoadPicture(App.Path & "\GFX\Fotos\Goku\1.jpg")
frmMirage.picTrans2.Picture = LoadPicture(App.Path & "\GFX\Fotos\Goku\2.jpg")
frmMirage.picTrans3.Picture = LoadPicture(App.Path & "\GFX\Fotos\Goku\3.jpg")
frmMirage.picTrans4.Picture = LoadPicture(App.Path & "\GFX\Fotos\Goku\4.jpg")
ElseIf GetPlayerClass(MyIndex) = 2 Then
frmMirage.picTrans0.Picture = LoadPicture(App.Path & "\GFX\Fotos\Vegeta\0.jpg")
frmMirage.picTrans1.Picture = LoadPicture(App.Path & "\GFX\Fotos\Vegeta\1.jpg")
frmMirage.picTrans2.Picture = LoadPicture(App.Path & "\GFX\Fotos\Vegeta\2.jpg")
frmMirage.picTrans3.Visible = False
frmMirage.picTrans4.Picture = LoadPicture(App.Path & "\GFX\Fotos\Vegeta\4.jpg")
Else
frmMirage.picTrans0.Visible = False
frmMirage.picTrans1.Visible = False
frmMirage.picTrans2.Visible = False
frmMirage.picTrans3.Visible = False
frmMirage.picTrans4.Visible = False
End If
End If
Server~Side
Procure por:
- Código:
Case "dtrade"
N = Player(Index).TradePlayer
' Check if anyone trade with player
If N < 1 Then
Call PlayerMsg(Index, "Ninguém pediu para negociar com você.", Pink)
Exit Sub
End If
Call PlayerMsg(Index, "O pedido de negociação foi rejeitado.", Pink)
Call PlayerMsg(N, GetPlayerName(Index) & " rejeitou seu pedido de negociação.", Pink)
Player(Index).TradePlayer = 0
Player(Index).InTrade = 0
Player(N).TradePlayer = 0
Player(N).InTrade = 0
Exit Sub
Adicione embaixo:
- Código:
Case "tnormal"
If GetPlayerClass(Index) = 1 Then
If GetPlayerSprite(Index) = 0 Then
Exit Sub
ElseIf GetPlayerSprite(Index) = 10 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 100)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 25)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 25)
ElseIf GetPlayerSprite(Index) = 20 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 100)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 50)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 50)
ElseIf GetPlayerSprite(Index) = 30 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 300)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 100)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 100)
ElseIf GetPlayerSprite(Index) = 40 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 30)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 200)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 200)
End If
Call SetPlayerSprite(Index, 0)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call BattleMsg(Index, "Normal!", Yellow, 0)
Call SendPlayerData(Index)
ElseIf GetPlayerClass(Index) = 2 Then
If GetPlayerSprite(Index) = 11 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 100)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 25)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 25)
ElseIf GetPlayerSprite(Index) = 21 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 100)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 50)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 50)
ElseIf GetPlayerSprite(Index) = 31 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 300)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 200)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 200)
End If
Call SetPlayerSprite(Index, 1)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call BattleMsg(Index, "Normal!", Yellow, 0)
Call SendPlayerData(Index)
Else 'Aqui é a classe 3, que no caso do tuto, não tem transformação
Exit Sub
End If
Call SavePlayer(Index)
Exit Sub
Case "tssj"
If GetPlayerClass(Index) = 1 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 0 Then
Call SetPlayerSprite(Index, 10)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 100)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 25)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 25)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin!", Yellow, 0)
Call SendPlayerData(Index)
End If
Else
Call PlayerMsg(Index, "Você não level para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 2 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 1 Then
Call SetPlayerSprite(Index, 11)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 100)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 25)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 25)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
Else 'Aqui é a classe 3, que no caso do tuto, não tem transformação
Exit Sub
End If
Call SavePlayer(Index)
Exit Sub
Case "tssj2"
If GetPlayerClass(Index) = 1 Then
If GetPlayerLevel(Index) >= 100 Then
If GetPlayerSprite(Index) = 10 Then
Call SetPlayerSprite(Index, 20)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 100)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 50)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 50)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 50)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 2!", Yellow, 0)
Call SendPlayerData(Index)
End If
Else
Call PlayerMsg(Index, "Você não level para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 2 Then
If GetPlayerLevel(Index) >= 100 Then
If GetPlayerSprite(Index) = 11 Then
Call SetPlayerSprite(Index, 21)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 100)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 105)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 105)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 105)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 2!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
Else 'Aqui é a classe 3, que no caso do tuto, não tem transformação
Exit Sub
End If
Call SavePlayer(Index)
Exit Sub
Case "tssj3"
If GetPlayerClass(Index) = 1 Then
If GetPlayerLevel(Index) >= 200 Then
If GetPlayerSprite(Index) = 20 Then
Call SetPlayerSprite(Index, 30)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 300)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 100)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 100)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 100)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 3!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
Else 'Aqui é a classe 3, que no caso do tuto, não tem transformação (também não tem para vegeta D:)
Exit Sub
End If
Call SavePlayer(Index)
Exit Sub
Case "tssj4"
If GetPlayerClass(Index) = 1 Then
If GetPlayerLevel(Index) >= 300 Then
If GetPlayerSprite(Index) = 30 Then
Call SetPlayerSprite(Index, 40)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 300)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 200)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 200)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 200)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 4!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
ElseIf GetPlayerClass(Index) = 2 Then
If GetPlayerLevel(Index) >= 300 Then
If GetPlayerSprite(Index) = 21 Then
Call SetPlayerSprite(Index, 31)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 300)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 200)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 200)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 200)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 4!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
Else 'Aqui é a classe 3, que no caso do tuto, não tem transformação
Exit Sub
End If
Call SavePlayer(Index)
Exit Sub
Agora no final do modServerTCP, adicione:
- Código:
Sub SendClassPicRequest(ByVal Index As Long)
Dim Packet As String
Packet = "CLASSPIC" & END_CHAR
Call SendDataTo(Index, Packet)
End Sub
E para concluir, no final da Sub JoinGame(ByVal Index As Long), adicione:
- Código:
'Mandar imagens das classes
Call SendClassPicRequest(Index)
É isso. Lembrando que no tutorial não existe transformação para a classe 3.
Créditos: Lenon ~ e PRODEV
Última edição por lendario em Qua 03 Nov 2010, 17:53, editado 1 vez(es)
Lendário- Administrador Lendário
- Mensagens : 1958
Re: [ALL] Transformação Por Imagem
Eu fiz com 10 classes poderia ajudar fiz com 3 trans ta dando erro no servidor na case 2.OBS.ja fiz umas 5 vzs e não consigo achar o erro
Client
Client
- Spoiler:
- ' :::::::::::::::::::::::
' :: Class Pic request ::
' :::::::::::::::::::::::
If Parse(0) = "classpic" Then
If GetPlayerClass(MyIndex) = 1 Then
frmMirage.picTrans0.Picture = LoadPicture(App.Path & "\GFX\Fotos\Goku\0.jpg")
frmMirage.picTrans1.Picture = LoadPicture(App.Path & "\GFX\Fotos\Goku\1.jpg")
frmMirage.picTrans2.Picture = LoadPicture(App.Path & "\GFX\Fotos\Goku\2.jpg")
frmMirage.picTrans3.Picture = LoadPicture(App.Path & "\GFX\Fotos\Goku\3.jpg")
ElseIf GetPlayerClass(MyIndex) = 2 Then
frmMirage.picTrans0.Picture = LoadPicture(App.Path & "\GFX\Fotos\Vegeta\0.jpg")
frmMirage.picTrans1.Picture = LoadPicture(App.Path & "\GFX\Fotos\Vegeta\1.jpg")
frmMirage.picTrans2.Picture = LoadPicture(App.Path & "\GFX\Fotos\Vegeta\2.jpg")
frmMirage.picTrans3.Picture = LoadPicture(App.Path & "\GFX\Fotos\Vegeta\3.jpg")
ElseIf GetPlayerClass(MyIndex) = 3 Then
frmMirage.picTrans0.Picture = LoadPicture(App.Path & "\GFX\Fotos\Gohan\0.jpg")
frmMirage.picTrans1.Picture = LoadPicture(App.Path & "\GFX\Fotos\Gohan\1.jpg")
frmMirage.picTrans2.Picture = LoadPicture(App.Path & "\GFX\Fotos\Gohan\2.jpg")
frmMirage.picTrans3.Picture = LoadPicture(App.Path & "\GFX\Fotos\Gohan\3.jpg")
ElseIf GetPlayerClass(MyIndex) = 4 Then
frmMirage.picTrans0.Picture = LoadPicture(App.Path & "\GFX\Fotos\Gogeta\0.jpg")
frmMirage.picTrans1.Picture = LoadPicture(App.Path & "\GFX\Fotos\Gogeta\1.jpg")
frmMirage.picTrans2.Picture = LoadPicture(App.Path & "\GFX\Fotos\Gogeta\2.jpg")
frmMirage.picTrans3.Picture = LoadPicture(App.Path & "\GFX\Fotos\Gogeta\3.jpg")
ElseIf GetPlayerClass(MyIndex) = 5 Then
frmMirage.picTrans0.Picture = LoadPicture(App.Path & "\GFX\Fotos\Trunks\0.jpg")
frmMirage.picTrans1.Picture = LoadPicture(App.Path & "\GFX\Fotos\Trunks\1.jpg")
frmMirage.picTrans2.Picture = LoadPicture(App.Path & "\GFX\Fotos\Trunks\2.jpg")
frmMirage.picTrans3.Picture = LoadPicture(App.Path & "\GFX\Fotos\Trunks\3.jpg")
ElseIf GetPlayerClass(MyIndex) = 6 Then
frmMirage.picTrans0.Picture = LoadPicture(App.Path & "\GFX\Fotos\Gotenks\0.jpg")
frmMirage.picTrans1.Picture = LoadPicture(App.Path & "\GFX\Fotos\Gotenks\1.jpg")
frmMirage.picTrans2.Picture = LoadPicture(App.Path & "\GFX\Fotos\Gotenks\2.jpg")
frmMirage.picTrans3.Picture = LoadPicture(App.Path & "\GFX\Fotos\Gotenks\3.jpg")
ElseIf GetPlayerClass(MyIndex) = 7 Then
frmMirage.picTrans0.Picture = LoadPicture(App.Path & "\GFX\Fotos\Raditz\0.jpg")
frmMirage.picTrans1.Picture = LoadPicture(App.Path & "\GFX\Fotos\Raditz\1.jpg")
frmMirage.picTrans2.Picture = LoadPicture(App.Path & "\GFX\Fotos\Raditz\2.jpg")
frmMirage.picTrans3.Picture = LoadPicture(App.Path & "\GFX\Fotos\Raditz\3.jpg")
ElseIf GetPlayerClass(MyIndex) = 8 Then
frmMirage.picTrans0.Picture = LoadPicture(App.Path & "\GFX\Fotos\Freeza\0.jpg")
frmMirage.picTrans1.Picture = LoadPicture(App.Path & "\GFX\Fotos\Freeza\1.jpg")
frmMirage.picTrans2.Picture = LoadPicture(App.Path & "\GFX\Fotos\Freeza\2.jpg")
frmMirage.picTrans3.Picture = LoadPicture(App.Path & "\GFX\Fotos\Freeza\3.jpg")
ElseIf GetPlayerClass(MyIndex) = 9 Then
frmMirage.picTrans0.Picture = LoadPicture(App.Path & "\GFX\Fotos\Baby\0.jpg")
frmMirage.picTrans1.Picture = LoadPicture(App.Path & "\GFX\Fotos\Baby\1.jpg")
frmMirage.picTrans2.Picture = LoadPicture(App.Path & "\GFX\Fotos\Baby\2.jpg")
frmMirage.picTrans3.Picture = LoadPicture(App.Path & "\GFX\Fotos\Baby\3.jpg")
ElseIf GetPlayerClass(MyIndex) = 10 Then
frmMirage.picTrans0.Picture = LoadPicture(App.Path & "\GFX\Fotos\Boo\0.jpg")
frmMirage.picTrans1.Picture = LoadPicture(App.Path & "\GFX\Fotos\Boo\1.jpg")
frmMirage.picTrans2.Picture = LoadPicture(App.Path & "\GFX\Fotos\Boo\2.jpg")
frmMirage.picTrans3.Picture = LoadPicture(App.Path & "\GFX\Fotos\Boo\3.jpg")
Else
frmMirage.picTrans0.Visible = False
frmMirage.picTrans1.Visible = False
frmMirage.picTrans2.Visible = False
frmMirage.picTrans3.Visible = False
End If
End If
- Spoiler:
- Case "tnormal"
If GetPlayerClass(Index) = 1 Then
If GetPlayerSprite(Index) = 1 Then
Exit Sub
ElseIf GetPlayerSprite(Index) = 2 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 4 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 5 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
End If
Call SetPlayerSprite(Index, 1)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call BattleMsg(Index, "Normal!", Yellow, 0)
Call SendPlayerData(Index)
ElseIf GetPlayerClass(Index) = 2 Then
If GetPlayerSprite(Index) = 13 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 15 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 16 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
End If
Call SetPlayerSprite(Index, 18)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call BattleMsg(Index, "Normal!", Yellow, 0)
Call SendPlayerData(Index)
ElseIf GetPlayerClass(Index) = 3 Then
If GetPlayerSprite(Index) = 26 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 23 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 25 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
End If
Call SetPlayerSprite(Index, 20)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call BattleMsg(Index, "Normal!", Yellow, 0)
Call SendPlayerData(Index)
ElseIf GetPlayerClass(Index) = 4 Then
If GetPlayerSprite(Index) = 37 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 365 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 38 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
End If
Call SetPlayerSprite(Index, 39)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call BattleMsg(Index, "Normal!", Yellow, 0)
Call SendPlayerData(Index)
ElseIf GetPlayerClass(Index) = 5 Then
If GetPlayerSprite(Index) = 47 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 48 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 49 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
End If
Call SetPlayerSprite(Index, 46)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call BattleMsg(Index, "Normal!", Yellow, 0)
Call SendPlayerData(Index)
ElseIf GetPlayerClass(Index) = 6 Then
If GetPlayerSprite(Index) = 56 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 57 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 260 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
End If
Call SetPlayerSprite(Index, 55)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call BattleMsg(Index, "Normal!", Yellow, 0)
Call SendPlayerData(Index)
ElseIf GetPlayerClass(Index) = 7 Then
If GetPlayerSprite(Index) = 483 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 100)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 25)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 25)
ElseIf GetPlayerSprite(Index) = 41 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 100)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 50)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 50)
ElseIf GetPlayerSprite(Index) = 43 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 300)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 200)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 200)
End If
Call SetPlayerSprite(Index, 108)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call BattleMsg(Index, "Normal!", Yellow, 0)
Call SendPlayerData(Index)
ElseIf GetPlayerClass(Index) = 8 Then
If GetPlayerSprite(Index) = 113 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 114 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 115 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
End If
Call SetPlayerSprite(Index, 112)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call BattleMsg(Index, "Normal!", Yellow, 0)
Call SendPlayerData(Index)
ElseIf GetPlayerClass(Index) = 9 Then
If GetPlayerSprite(Index) = 146 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 147 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 43 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
End If
Call SetPlayerSprite(Index, 144)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call BattleMsg(Index, "Normal!", Yellow, 0)
Call SendPlayerData(Index)
ElseIf GetPlayerClass(Index) = 10 Then
If GetPlayerSprite(Index) = 158 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 298 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
ElseIf GetPlayerSprite(Index) = 159 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 0)
End If
Call SetPlayerSprite(Index, 402)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call BattleMsg(Index, "Normal!", Yellow, 0)
Call SendPlayerData(Index)
Exit Sub
End If
Call SavePlayer(Index)
Exit Sub
Case "tssj"
If GetPlayerClass(Index) = 1 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 1 Then
Call SetPlayerSprite(Index, 2)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin!", Yellow, 0)
Call SendPlayerData(Index)
End If
Else
Call PlayerMsg(Index, "Você não level para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 2 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 18 Then
Call SetPlayerSprite(Index, 13)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 3 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 20 Then
Call SetPlayerSprite(Index, 26)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 4 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 39 Then
Call SetPlayerSprite(Index, 37)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 5 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 46 Then
Call SetPlayerSprite(Index, 47)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 6 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 55 Then
Call SetPlayerSprite(Index, 56)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 7 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 108 Then
Call SetPlayerSprite(Index, 483)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 8 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 112 Then
Call SetPlayerSprite(Index, 113)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Freeza Forma 1!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 9 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 144 Then
Call SetPlayerSprite(Index, 146)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Baby Forma 1!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 10 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 402 Then
Call SetPlayerSprite(Index, 158)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Evil Boo!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
Exit Sub
End If
Case "tssj2"
If GetPlayerClass(Index) = 1 Then
If GetPlayerLevel(Index) >= 150 Then
If GetPlayerSprite(Index) = 2 Then
Call SetPlayerSprite(Index, 4)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 3!", Yellow, 0)
Call SendPlayerData(Index)
End If
Else
Call PlayerMsg(Index, "Você não level para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 2 Then
If GetPlayerLevel(Index) >= 150 Then
If GetPlayerSprite(Index) = 13 Then
Call SetPlayerSprite(Index, 15)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 2!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 3 Then
If GetPlayerLevel(Index) >= 150 Then
If GetPlayerSprite(Index) = 26 Then
Call SetPlayerSprite(Index, 23)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 2!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 4 Then
If GetPlayerLevel(Index) >= 150 Then
If GetPlayerSprite(Index) = 37 Then
Call SetPlayerSprite(Index, 365)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin Full Power!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 5 Then
If GetPlayerLevel(Index) >= 150 Then
If GetPlayerSprite(Index) = 47 Then
Call SetPlayerSprite(Index, 48)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin Full Power!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 6 Then
If GetPlayerLevel(Index) >= 150 Then
If GetPlayerSprite(Index) = 56 Then
Call SetPlayerSprite(Index, 57)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 3!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 7 Then
If GetPlayerLevel(Index) >= 150 Then
If GetPlayerSprite(Index) = 483 Then
Call SetPlayerSprite(Index, 41)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Ozaru!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 8 Then
If GetPlayerLevel(Index) >= 150 Then
If GetPlayerSprite(Index) = 113 Then
Call SetPlayerSprite(Index, 114)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "freeza Forma 2!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 9 Then
If GetPlayerLevel(Index) >= 150 Then
If GetPlayerSprite(Index) = 146 Then
Call SetPlayerSprite(Index, 147)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Baby Vegeta!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 10 Then
If GetPlayerLevel(Index) >= 150 Then
If GetPlayerSprite(Index) = 298 Then
Call SetPlayerSprite(Index, 159)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Kid Boo!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
Exit Sub
End If
Call SavePlayer(Index)
Exit Sub
Case "tssj3"
If GetPlayerClass(Index) = 1 Then
If GetPlayerLevel(Index) >= 300 Then
If GetPlayerSprite(Index) = 4 Then
Call SetPlayerSprite(Index, 5)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 4!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 2 Then
If GetPlayerLevel(Index) >= 300 Then
If GetPlayerSprite(Index) = 15 Then
Call SetPlayerSprite(Index, 16)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 4!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 3 Then
If GetPlayerLevel(Index) >= 300 Then
If GetPlayerSprite(Index) = 23 Then
Call SetPlayerSprite(Index, 25)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 2!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 4 Then
If GetPlayerLevel(Index) >= 300 Then
If GetPlayerSprite(Index) = 365 Then
Call SetPlayerSprite(Index, 38)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 4 Gogeta!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 5 Then
If GetPlayerLevel(Index) >= 300 Then
If GetPlayerSprite(Index) = 48 Then
Call SetPlayerSprite(Index, 49)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin !", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 6 Then
If GetPlayerLevel(Index) >= 100 Then
If GetPlayerSprite(Index) = 57 Then
Call SetPlayerSprite(Index, 260)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Super Saiyajin 4!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 7 Then
If GetPlayerLevel(Index) >= 300 Then
If GetPlayerSprite(Index) = 41 Then
Call SetPlayerSprite(Index, 43)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Gold Ozaru!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 8 Then
If GetPlayerLevel(Index) >= 300 Then
If GetPlayerSprite(Index) = 114 Then
Call SetPlayerSprite(Index, 115)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "freeza Forma 3!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 9 Then
If GetPlayerLevel(Index) >= 300 Then
If GetPlayerSprite(Index) = 147 Then
Call SetPlayerSprite(Index, 43)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Baby Ozaru!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 10 Then
If GetPlayerLevel(Index) >= 300 Then
If GetPlayerSprite(Index) = 298 Then
Call SetPlayerSprite(Index, 159)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 400)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 400)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 0)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 0)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 0)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call BattleMsg(Index, "Kid Boo!", Yellow, 0)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
Exit Sub
End If
Call SavePlayer(Index)
Exit Sub
hornet600- Novato
- Mensagens : 31
Re: [ALL] Transformação Por Imagem
que raiva esse hornet fica colocando esses codigos gigantes nos post aff isso mereçe punimento a aqui da erro sempre que eu logo com char da sub script algo assim
klinton-1234- Membro
- Mensagens : 220
Re: [ALL] Transformação Por Imagem
loga com o char aqui é um forum não um jogo online, se voçe não sabe
se a pessoa está com problemas deve colocar no post do tutu OBS.só porq seu char foi banido ninguem mando fica hackeando os outros
se a pessoa está com problemas deve colocar no post do tutu OBS.só porq seu char foi banido ninguem mando fica hackeando os outros
hornet600- Novato
- Mensagens : 31
Re: [ALL] Transformação Por Imagem
voce sabe ler por acaso? eu estava explicando o erro que estava dando aqui se vc nao sabe ler simplismente nao leia
klinton-1234- Membro
- Mensagens : 220
Re: [ALL] Transformação Por Imagem
Cra pq vc não pois um spoiler, affffffffffffffss. desculpe + vou ter que fazer isso, parece até brincadeira de sacanear o apagina de racados do orkut
Re: [ALL] Transformação Por Imagem
adm.karlos escreveu:Cra pq vc não pois um spoiler, affffffffffffffss. desculpe + vou ter que fazer isso, parece até brincadeira de sacanear o apagina de racados do orkut
Fico Muito Melhor com o spoiler
Re: [ALL] Transformação Por Imagem
Kakaroto to percebendo sua floodagem nos topicos use o botao editar
voce fez double post se continuar assim vou te punir ;D
voce fez double post se continuar assim vou te punir ;D
Lucas Lôpo- Membro Veterano
- Mensagens : 833
Re: [ALL] Transformação Por Imagem
Como eu faço so pra vip transformar?
putolinoxd- Novato
- Mensagens : 42
Re: [ALL] Transformação Por Imagem
e.e tu mecheu nos types o.ô, pra aconteser isso(tenque usar Vb6 completo também)
Transformação com VIP 1 e 2:
Pra players VIP2
Transformação com VIP 1 e 2:
- Código:
If GetPlayerSpriter(Index) = 1 then ' Numero da Spriter da CLasse
If GetPlayerAccess(Index) = 1 then ' Access 1 = VIP 1
call SetPlayerStr(index, GetPLayerStr(index) + 20) ' 20 = quantidade de str
call setplayerspeed(index, getplayerspeed(index) + 20) ' 20 quantidade de força
Else
Call BattleMsg(Index, "Você não é vip, então não pode virar ssj 1 bilhão...", Yellow, 0)
' Mensagem se o player não for vip.
End If
End IF
Pra players VIP2
- Código:
If GetPlayerSpriter(Index) = 1 then ' Numero da Spriter da CLasse
If GetPlayerAccess(Index) = 2 then ' Access 1 = VIP 1
call SetPlayerStr(index, GetPLayerStr(index) + 30) ' 30 = quantidade de str
call setplayerspeed(index, getplayerspeed(index) + 30) ' 30 quantidade de força
Else
Call BattleMsg(Index, "Você não é vip 2, então não pode virar ssj 2 bilhão...", Yellow, 0)
' Mensagem se o player não for vip 2.
End If
End IF
as imagens não aparecem
eu ja revisei o comando 5x, ja tentei trocar as imagens, ja fiz de tudo, mas n troca elas n importa a classe, nem aparecem na verdade mas as transformações funcionaram blz... uso eclipse super nova, alguem pode me ajudar? vlw aew
felipebn- Membro
- Mensagens : 224
Re: [ALL] Transformação Por Imagem
da esse error
- Código:
Compile error:
Only comments may appear after End Sub, End Function, or End Property
- Código:
e Dps Aparece Sublinhado o 0 dessa linha If Parse(0) = "classpic" Then
DrayonDuarte- Membro
- Mensagens : 243
Re: [ALL] Transformação Por Imagem
.... a pedido drayon fiz um video aula para quem quiser ver tabem ela comtem 3 classes ... 5 transfomações...
Client:
https://www.youtube.com/watch?v=pJ4aUM875TQ
Server:
https://www.youtube.com/watch?v=xKRBAAzekWI
na linha da If Parse(0) = "classpic" Then ... vc tem que coloca esse codigo em cima da Exit Sub ...
Client:
https://www.youtube.com/watch?v=pJ4aUM875TQ
Server:
https://www.youtube.com/watch?v=xKRBAAzekWI
Compile error:
Only comments may appear after End Sub, End Function, or End Propertye Dps Aparece Sublinhado o 0 dessa linha If Parse(0) = "classpic" Then
na linha da If Parse(0) = "classpic" Then ... vc tem que coloca esse codigo em cima da Exit Sub ...
- Código:
' :::::::::::::::::::::::
' :: Class Pic request ::
' :::::::::::::::::::::::
If Parse(0) = "classpic" Then
If GetPlayerClass(MyIndex) = 1 Then
frmMirage.picTrans0.Picture = LoadPicture(App.Path & "\GFX\Fotos\Goku\0.jpg")
frmMirage.picTrans1.Picture = LoadPicture(App.Path & "\GFX\Fotos\Goku\1.jpg")
frmMirage.picTrans2.Picture = LoadPicture(App.Path & "\GFX\Fotos\Goku\2.jpg")
frmMirage.picTrans3.Picture = LoadPicture(App.Path & "\GFX\Fotos\Goku\3.jpg")
frmMirage.picTrans4.Picture = LoadPicture(App.Path & "\GFX\Fotos\Goku\4.jpg")
ElseIf GetPlayerClass(MyIndex) = 2 Then
frmMirage.picTrans0.Picture = LoadPicture(App.Path & "\GFX\Fotos\Vegeta\0.jpg")
frmMirage.picTrans1.Picture = LoadPicture(App.Path & "\GFX\Fotos\Vegeta\1.jpg")
frmMirage.picTrans2.Picture = LoadPicture(App.Path & "\GFX\Fotos\Vegeta\2.jpg")
frmMirage.picTrans3.Visible = False
frmMirage.picTrans4.Picture = LoadPicture(App.Path & "\GFX\Fotos\Vegeta\4.jpg")
Else
frmMirage.picTrans0.Visible = False
frmMirage.picTrans1.Visible = False
frmMirage.picTrans2.Visible = False
frmMirage.picTrans3.Visible = False
frmMirage.picTrans4.Visible = False
End If
End If
Exit Sub
Darkmg- Novato
- Mensagens : 31
Re: [ALL] Transformação Por Imagem
Abra o source do client pelo visual basic 6Darkmg escreveu:Mais eu n entendo essa parada de cliente side oq e???
Lendário- Administrador Lendário
- Mensagens : 1958
Re: [ALL] Transformação Por Imagem
Ae,alguem sabe oque tem de errado nesse codigo? estou tendo um erro e sei que o erro está no codigo,só nao sei aonde.help?
thanks
- Código:
Case "tnormal"
If GetPlayerClass(Index) = 1 Then
If GetPlayerSprite(Index) = 1 Then
Exit Sub
ElseIf GetPlayerSprite(Index) = 35 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 25)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 25)
ElseIf GetPlayerSprite(Index) = 299 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 100)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 100)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 50)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 50)
ElseIf GetPlayerSprite(Index) = 36 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 100)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 100)
ElseIf GetPlayerSprite(Index) = 341 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) / 2)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) / 2)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 200)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 200)
End If
Call SetPlayerSprite(Index, 1)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call SendPlayerData(Index)
ElseIf GetPlayerClass(Index) = 2 Then
If GetPlayerSprite(Index) = 0 Then
Exit Sub
ElseIf GetPlayerSprite(Index) = 13 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 25)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 25)
ElseIf GetPlayerSprite(Index) = 21 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 100)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 100)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 50)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 50)
ElseIf GetPlayerSprite(Index) = 310 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 100)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 100)
ElseIf GetPlayerSprite(Index) = 341 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) / 2)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) / 2)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 200)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 200)
End If
Call SetPlayerSprite(Index, 0)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call SendPlayerData(Index)
ElseIf GetPlayerClass(Index) = 3 Then
If GetPlayerSprite(Index) = 368 Then
Exit Sub
ElseIf GetPlayerSprite(Index) = 365 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 25)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 25)
ElseIf GetPlayerSprite(Index) = 370 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 100)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 100)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 50)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 50)
ElseIf GetPlayerSprite(Index) = 376 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 100)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 100)
ElseIf GetPlayerSprite(Index) = 377 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) / 2)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) / 2)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 200)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 200)
End If
Call SetPlayerSprite(Index, 368)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call SendPlayerData(Index)
ElseIf GetPlayerClass(Index) = 4 Then
If GetPlayerSprite(Index) = 37 Then
Exit Sub
ElseIf GetPlayerSprite(Index) = 286 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 25)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 25)
ElseIf GetPlayerSprite(Index) = 128 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 100)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 100)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 50)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 50)
ElseIf GetPlayerSprite(Index) = 261 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 100)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 100)
ElseIf GetPlayerSprite(Index) = 263 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) / 2)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) / 2)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 200)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 200)
End If
Call SetPlayerSprite(Index, 37)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call SendPlayerData(Index)
ElseIf GetPlayerClass(Index) = 5 Then
If GetPlayerSprite(Index) = 269 Then
Exit Sub
ElseIf GetPlayerSprite(Index) = 313 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 25)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 25)
ElseIf GetPlayerSprite(Index) = 267 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 100)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 100)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 50)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 50)
ElseIf GetPlayerSprite(Index) = 261 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 100)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 100)
ElseIf GetPlayerSprite(Index) = 265 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) / 2)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) / 2)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 200)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 200)
End If
Call SetPlayerSprite(Index, 269)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call SendPlayerData(Index)
ElseIf GetPlayerClass(Index) = 6 Then
If GetPlayerSprite(Index) = 33 Then
Exit Sub
ElseIf GetPlayerSprite(Index) = 329 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 25)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 25)
ElseIf GetPlayerSprite(Index) = 105 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 100)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 100)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 50)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 50)
ElseIf GetPlayerSprite(Index) = 138 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) - 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) - 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 100)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 100)
ElseIf GetPlayerSprite(Index) = 330 Then
Call SetPlayerstr(Index, GetPlayerstr(Index) / 2)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) / 2)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) - 200)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) - 200)
End If
Call SetPlayerSprite(Index, 33)
Call PlayerMsg(Index, "Você voltou ao normal!", BrightBlue)
Call SendPlayerData(Index)
Else
Exit Sub
End If
Call SavePlayer(Index)
Exit Sub
Case "tssj"
If GetPlayerClass(Index) = 1 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 1 Then
Call SetPlayerSprite(Index, 35)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 25)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 25)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
End If
Else
Call PlayerMsg(Index, "Você não tem level para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 2 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 0 Then
Call SetPlayerSprite(Index, 13)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 25)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 25)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem level para se transformar!", BrightBlue)
End If
End If
ElseIf GetPlayerClass(Index) = 3 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 368 Then
Call SetPlayerSprite(Index, 365)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 25)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 25)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem level para se transformar!", BrightBlue)
End If
End If
ElseIf GetPlayerClass(Index) = 4 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 37 Then
Call SetPlayerSprite(Index, 286)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 25)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 25)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem level para se transformar!", BrightBlue)
End If
End If
ElseIf GetPlayerClass(Index) = 5 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 269 Then
Call SetPlayerSprite(Index, 313)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 25)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 25)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem level para se transformar!", BrightBlue)
End If
End If
ElseIf GetPlayerClass(Index) = 6 Then
If GetPlayerLevel(Index) >= 50 Then
If GetPlayerSprite(Index) = 33 Then
Call SetPlayerSprite(Index, 329)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 50)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 50)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 25)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 25)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem level para se transformar!", BrightBlue)
End If
End If
Else
Exit Sub
End If
Call SavePlayer(Index)
Exit Sub
Case "tssj2"
If GetPlayerClass(Index) = 1 Then 'goku
If GetPlayerLevel(Index) >= 150 Then
If GetPlayerSprite(Index) = 35 Then
Call SetPlayerSprite(Index, 299)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 100)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 100)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 50)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 50)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 50)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
End If
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
ElseIf GetPlayerClass(Index) = 2 Then 'vegeta
If GetPlayerLevel(Index) >= 150 Then
If GetPlayerSprite(Index) = 13 Then
Call SetPlayerSprite(Index, 21)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 100)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 100)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 50)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 50)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
ElseIf GetPlayerClass(Index) = 3 Then 'gohan
If GetPlayerLevel(Index) >= 150 Then
If GetPlayerSprite(Index) = 365 Then
Call SetPlayerSprite(Index, 370)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 100)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 100)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 50)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 50)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
ElseIf GetPlayerClass(Index) = 4 Then 'trunks
If GetPlayerLevel(Index) >= 150 Then
If GetPlayerSprite(Index) = 286 Then
Call SetPlayerSprite(Index, 128)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 100)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 100)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 50)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 50)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
ElseIf GetPlayerClass(Index) = 5 Then 'brolly
If GetPlayerLevel(Index) >= 150 Then
If GetPlayerSprite(Index) = 313 Then
Call SetPlayerSprite(Index, 267)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 100)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 100)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 50)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 50)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
ElseIf GetPlayerClass(Index) = 6 Then
If GetPlayerLevel(Index) >= 150 Then
If GetPlayerSprite(Index) = 329 Then
Call SetPlayerSprite(Index, 105)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 100)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 100)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 50)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 50)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
Else 'Aqui é a classe 3, que no caso do tuto, não tem transformação
Exit Sub
End If
Call SavePlayer(Index)
Exit Sub
Case "tssj3"
If GetPlayerClass(Index) = 1 Then
If GetPlayerLevel(Index) >= 250 Then
If GetPlayerSprite(Index) = 299 Then
Call SetPlayerSprite(Index, 36)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 100)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 100)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 100)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
ElseIf GetPlayerClass(Index) = 2 Then
If GetPlayerLevel(Index) >= 250 Then
If GetPlayerSprite(Index) = 21 Then
Call SetPlayerSprite(Index, 310)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 100)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 100)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
ElseIf GetPlayerClass(Index) = 3 Then
If GetPlayerLevel(Index) >= 250 Then
If GetPlayerSprite(Index) = 370 Then
Call SetPlayerSprite(Index, 376)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 100)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 100)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
ElseIf GetPlayerClass(Index) = 4 Then
If GetPlayerLevel(Index) >= 250 Then
If GetPlayerSprite(Index) = 128 Then
Call SetPlayerSprite(Index, 261)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 100)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 100)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
ElseIf GetPlayerClass(Index) = 5 Then
If GetPlayerLevel(Index) >= 250 Then
If GetPlayerSprite(Index) = 267 Then
Call SetPlayerSprite(Index, 261)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 100)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 100)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
ElseIf GetPlayerClass(Index) = 6 Then
If GetPlayerLevel(Index) >= 250 Then
If GetPlayerSprite(Index) = 105 Then
Call SetPlayerSprite(Index, 138)
Call SetPlayerstr(Index, GetPlayerstr(Index) + 200)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) + 200)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 100)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 100)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 25)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
Else
Exit Sub
End If
Call SavePlayer(Index)
Exit Sub
Case "tssj4"
If GetPlayerClass(Index) = 1 Then
If GetPlayerLevel(Index) >= 500 Then
If GetPlayerAccess(index) >= 1 Then
If GetPlayerSprite(Index) = 1 Then
Call SetPlayerSprite(Index, 341)
Call SetPlayerstr(Index, GetPlayerstr(Index) * 2)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 2)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 200)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 200)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 200)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
End If
ElseIf GetPlayerClass(Index) = 2 Then
If GetPlayerLevel(Index) >= 500 Then
If GetPlayerAccess(index) >= 1 Then
If GetPlayerSprite(Index) = 0 Then
Call SetPlayerSprite(Index, 341)
Call SetPlayerstr(Index, GetPlayerstr(Index) * 2)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 2)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 200)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 200)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 200)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
End If
ElseIf GetPlayerClass(Index) = 3 Then
If GetPlayerLevel(Index) >= 500 Then
If GetPlayerAccess(index) >= 1 Then
If GetPlayerSprite(Index) = 368 Then
Call SetPlayerSprite(Index, 377)
Call SetPlayerstr(Index, GetPlayerstr(Index) * 2)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 2)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 200)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 200)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 200)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
ElseIf GetPlayerClass(Index) = 4 Then
If GetPlayerLevel(Index) >= 500 Then
If GetPlayerAccess(index) >= 1 Then
If GetPlayerSprite(Index) = 37 Then
Call SetPlayerSprite(Index, 263)
Call SetPlayerstr(Index, GetPlayerstr(Index) * 2)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 2)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 200)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 200)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 200)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
End If
ElseIf GetPlayerClass(Index) = 5 Then
If GetPlayerLevel(Index) >= 500 Then
If GetPlayerAccess(index) >= 1 Then
If GetPlayerSprite(Index) = 269 Then
Call SetPlayerSprite(Index, 265)
Call SetPlayerstr(Index, GetPlayerstr(Index) * 2)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 2)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 200)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 200)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 200)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
End If
ElseIf GetPlayerClass(Index) = 6 Then
If GetPlayerLevel(Index) >= 500 Then
If GetPlayerAccess(index) >= 1 Then
If GetPlayerSprite(Index) = 33 Then
Call SetPlayerSprite(Index, 330)
Call SetPlayerstr(Index, GetPlayerstr(Index) * 2)
Call SetPlayerDEF(Index, GetPlayerDEF(Index) * 2)
Call SetPlayerSPEED(Index, GetPlayerSPEED(Index) + 200)
Call SetPlayerMAGI(Index, GetPlayerMAGI(Index) + 200)
Call SetPlayerMP(Index, GetPlayerMP(Index) - 200)
Call PlayerMsg(Index, "Você se transformou!", BrightBlue)
Call SendPlayerData(Index)
Else
Call PlayerMsg(Index, "Você não tem os requisitos para se transformar!", BrightBlue)
End If
End If
End If
Else
Exit Sub
End If
Call SavePlayer(Index)
Exit Sub
thanks
Re: [ALL] Transformação Por Imagem
eh um bug no
- Código:
Case "updatetradeinv"
Re: [ALL] Transformação Por Imagem
então guilherme,eu do start no server pelo VB vai normal,dou start no client pelo VB ele entra,só que ai o server cai...da um erro...alias nao é um erro..é uma falha eu axo...e ele leva para isso:
na verdade,ele leva apenas para 'Case' so que dps da case tem isso ai ^^
eu ja reinstalei o VB,o elysium tudo...fiz o tuto tudo de novo...e da a msm coisa...alguem que manja nisso ai sabe resolver? pq n parece ser coisa de outro mundo.
thanks
- Código:
Case "updatetradeinv"
na verdade,ele leva apenas para 'Case' so que dps da case tem isso ai ^^
eu ja reinstalei o VB,o elysium tudo...fiz o tuto tudo de novo...e da a msm coisa...alguem que manja nisso ai sabe resolver? pq n parece ser coisa de outro mundo.
thanks
Página 1 de 7 • 1, 2, 3, 4, 5, 6, 7
Tópicos semelhantes
» Transformaçao Por Imagem
» transformação por imagem
» transformaçao por imagem
» Como por Som na transformaçao por imagem
» Erro em transformação por imagem
» transformação por imagem
» transformaçao por imagem
» Como por Som na transformaçao por imagem
» Erro em transformação por imagem
MMORPG Brasil :: OPEN SOURCE ENGINES :: Outras Engines :: Elysium :: Tutoriais
Página 1 de 7
Permissões neste sub-fórum
Não podes responder a tópicos
Dom 08 Abr 2018, 18:40 por JorgeZinhoo002
» Ojkjeeeee
Seg 10 Out 2016, 23:19 por Frozen
» Naruto Great Ninja Batle
Dom 09 Out 2016, 14:29 por GuiinhoLP
» Recrutamento de um Designer para jogo de CDZ.
Sex 23 Set 2016, 18:37 por newbie123
» Serviços de suporte maker( Programação , Design , PixelArt ) E Vendas de Jogos
Qui 22 Set 2016, 20:11 por Eduardo
» Serviços de suporte maker( Programação , Design , PixelArt ) E Vendas de Jogos
Qui 22 Set 2016, 20:11 por Eduardo
» Serviços de suporte maker( Programação , Design , PixelArt ) E Vendas de Jogos
Qui 22 Set 2016, 20:09 por Eduardo
» Projeto Dbz
Qua 31 Ago 2016, 23:46 por 157
» Avaliação - Sprites Naruto
Qua 31 Ago 2016, 17:09 por 157
» [Sprites] DBZ (Plix)
Qua 31 Ago 2016, 14:13 por 157
» Super Pack - Bleach V.2
Qua 31 Ago 2016, 13:02 por 157
» [PEDIDO][PROJETO][RECRUTAMENTO] DYNISTYGAMES
Ter 30 Ago 2016, 10:04 por 157
» [PEDIDO][PROJETO][RECRUTAMENTO] DYNISTYGAMES
Ter 30 Ago 2016, 10:03 por 157
» [PEDIDO][PROJETO][RECRUTAMENTO] DYNISTYGAMES
Ter 30 Ago 2016, 10:02 por 157
» [Pedido] Contador de resets na FrmMain
Sáb 13 Ago 2016, 17:45 por killers97
» [Recrutamento]
Qua 10 Ago 2016, 23:09 por Monsters
» Ajuda erro no Cliente e Servidor do EEB 2.6!
Qua 20 Jul 2016, 19:53 por Binholx
» Como criar tilesets para Eclipse Origins 3.0 (POKÉMON)
Qua 29 Jun 2016, 19:46 por Sir Aaron
» Recursos Pokemons
Qua 29 Jun 2016, 19:34 por Sir Aaron
» erro frm flash
Qua 25 maio 2016, 13:51 por vava123
» Pedido - Pack de star wars
Qui 19 maio 2016, 05:06 por edsonpet
» [Ajuda] Sobre como por o servidor on por ip fixo
Ter 17 maio 2016, 16:14 por vava123
» Illusion Dimension - O Misterio do ID: BETA TESTE ONLINE
Sex 06 maio 2016, 20:02 por LksFlorencio
» [NSME] Naruto Shinobi Maker Engine
Qua 23 Mar 2016, 15:11 por luana1457
» Script /base,/casa Igual DBZ Forces
Dom 21 Fev 2016, 07:34 por JorgeZinhoo002
» [Pedido]Colar Tsunade item sprite eclipse origin
Qui 21 Jan 2016, 07:38 por lawllietbr
» [Pedido] Elysium
Sáb 19 Dez 2015, 11:31 por luana1457
» Naruto - Recruta
Ter 15 Dez 2015, 18:40 por Uchiha ~
» [Avaliação] - Kirito from Sword Art Online; Red and Pikachu from Pokemon.
Qua 25 Nov 2015, 13:43 por Thanakii
» [Avaliação] - Kenpachi Zaraki from Bleach; Libra Shiryu From Saint Seiya.
Qua 25 Nov 2015, 12:55 por Thanakii
» Demonstração de Sprites (Á VENDA!)
Qua 25 Nov 2015, 12:40 por Thanakii
» [Sistema de Reset]Para Eclipse .
Ter 24 Nov 2015, 16:51 por VithorUchi
» Cada Guild Nascer em Certo Mapa
Qui 12 Nov 2015, 06:13 por fabiofeijó_HIT
» Dragon Ball z Fusion A Grande Volta
Qui 29 Out 2015, 15:17 por fabiofeijó_HIT
» Ajuda com Ip fixo
Seg 26 Out 2015, 16:07 por GalaxyHells15
» Como Fazer um GUI no Eclipse Origins
Dom 18 Out 2015, 22:10 por Jeanleee
» Shisui Susanoo
Dom 18 Out 2015, 20:23 por Jeanleee
» Fantasy Art Online
Dom 18 Out 2015, 16:41 por daviih123
» Ajuda !!
Seg 05 Out 2015, 12:13 por andersonzika
» como passar o usuário e senha para o MainMenu?
Seg 28 Set 2015, 22:03 por Bëzerk
» Ru time ero 13 Type mismatch
Seg 28 Set 2015, 09:08 por andredarle
» Jarvis 1.3 Download
Qua 23 Set 2015, 18:42 por soares125
» [Avaliação/Disponibilização]Árvore 64x64
Qua 23 Set 2015, 15:15 por Over~
» Mlk's Zikas Signatures
Ter 22 Set 2015, 21:15 por Aikawa Reborn'
» Pedido de Sistemas
Dom 20 Set 2015, 18:05 por cleyton_05
» [AjudaEEB]Gerador de EXP
Qua 16 Set 2015, 14:04 por Over~
» [Avaliar] Base, Humano e Goblin.
Seg 14 Set 2015, 22:51 por .iBlaz3.
» Fabrica do Tio Cronos!
Dom 13 Set 2015, 21:31 por [ADM]Cronos
» [PixelArt] Minion - Meu malvado favorito
Dom 13 Set 2015, 12:51 por [ADM]Cronos
» [Avaliar] Goku Dragon Ball Z
Qua 05 Ago 2015, 21:36 por Setrux