[Aportes indexados] Agregar Clase Nigromante (BASE)

Estado
Cerrado para nuevas respuestas.

Shura

Dragón Ancestral Lvl 2
En General.bas Buscan:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">17</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Pirata"</span></li></ol></div>[/vb]
Y Debajo Agregan:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">18</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Nigromante"</span></li></ol></div>[/vb]
Luego En El Modulo_UsUariOs.bas En El Sub CheckUserLevel Buscan:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">        <span style="color: #b1b100;">Case</span> <span style="color: #ffffff;">"Mago"</span></li><li style="" class="li1">            Select <span style="color: #b1b100;">Case</span> UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Constitucion<span style="color: #66cc66;">)</span></li><li style="" class="li2">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">21</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">6</span>, <span style="color: #cc66cc;">9</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">20</span></li><li style="" class="li2">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, <span style="color: #cc66cc;">9</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">19</span>, <span style="color: #cc66cc;">18</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">4</span>, <span style="color: #cc66cc;">8</span><span style="color: #66cc66;">)</span></li><li style="" class="li2">                <span style="color: #b1b100;">Case</span> <span style="color: #b1b100;">Else</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Constitucion<span style="color: #66cc66;">)</span> \ <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">)</span> - AdicionalHPCazador</li><li style="" class="li1">            <span style="color: #b1b100;">End</span> Select</li><li style="" class="li2">            <span style="color: #b1b100;">If</span> AumentoHP < <span style="color: #cc66cc;">1</span> <span style="color: #b1b100;">Then</span> AumentoHP = <span style="color: #cc66cc;">4</span></li><li style="" class="li1">            AumentoST = <span style="color: #cc66cc;">15</span> - AdicionalSTLadron / <span style="color: #cc66cc;">2</span></li><li style="" class="li1">            <span style="color: #b1b100;">If</span> AumentoST < <span style="color: #cc66cc;">1</span> <span style="color: #b1b100;">Then</span> AumentoST = <span style="color: #cc66cc;">5</span></li><li style="" class="li2">            AumentoHIT = <span style="color: #cc66cc;">1</span></li><li style="" class="li1">            AumentoMANA = <span style="color: #cc66cc;">3</span> * UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Inteligencia<span style="color: #66cc66;">)</span></li><li style="" class="li1">            </li><li style="" class="li2">            <span style="color: #808080;">'HP</span></li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxHP</span>, AumentoHP, STAT_MAXHP</li><li style="" class="li1">            <span style="color: #808080;">'STA</span></li><li style="" class="li2">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxSta</span>, AumentoST, STAT_MAXSTA</li><li style="" class="li1">            <span style="color: #808080;">'Mana</span></li><li style="" class="li1">            <span style="color: #b1b100;">Call</span> AddtoVar<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxMAN</span>, AumentoMANA, <span style="color: #b1b100;">IIf</span><span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">ELV</span> > <span style="color: #cc66cc;">35</span>, <span style="color: #cc66cc;">9999</span>, STAT_MAXMAN<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span></li><li style="" class="li2">            <span style="color: #808080;">'Golpe</span></li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxHIT</span>, AumentoHIT, STAT_MAXHIT</li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MinHIT</span>, AumentoHIT, STAT_MAXHIT</li><li style="" class="li2">        <span style="color: #b1b100;">Case</span> <span style="color: #ffffff;">"Leñador"</span></li><li style="" class="li1">        </li><li style="" class="li1">            Select <span style="color: #b1b100;">Case</span> UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Constitucion<span style="color: #66cc66;">)</span></li><li style="" class="li2">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">21</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">6</span>, <span style="color: #cc66cc;">9</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">20</span></li><li style="" class="li2">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, <span style="color: #cc66cc;">9</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">19</span>, <span style="color: #cc66cc;">18</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">4</span>, <span style="color: #cc66cc;">8</span><span style="color: #66cc66;">)</span></li><li style="" class="li2">                <span style="color: #b1b100;">Case</span> <span style="color: #b1b100;">Else</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Constitucion<span style="color: #66cc66;">)</span> \ <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">)</span> - AdicionalHPCazador</li><li style="" class="li1">            <span style="color: #b1b100;">End</span> Select</li><li style="" class="li2">            </li><li style="" class="li1">        </li><li style="" class="li1"> </li><li style="" class="li2">            AumentoST = <span style="color: #cc66cc;">15</span> + AdicionalSTLeñador</li><li style="" class="li1">            AumentoHIT = <span style="color: #cc66cc;">2</span></li><li style="" class="li1">            </li><li style="" class="li2">            <span style="color: #808080;">'HP</span></li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxHP</span>, AumentoHP, STAT_MAXHP</li><li style="" class="li1">            <span style="color: #808080;">'STA</span></li><li style="" class="li2">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxSta</span>, AumentoST, STAT_MAXSTA</li><li style="" class="li1">            <span style="color: #808080;">'Golpe</span></li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxHIT</span>, AumentoHIT, STAT_MAXHIT</li><li style="" class="li2">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MinHIT</span>, AumentoHIT, STAT_MAXHIT</li></ol></div>[/vb]
Y Debajo Agregan:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">        <span style="color: #b1b100;">Case</span> <span style="color: #ffffff;">"Nigromante"</span></li><li style="" class="li1">            Select <span style="color: #b1b100;">Case</span> UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Constitucion<span style="color: #66cc66;">)</span></li><li style="" class="li2">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">21</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">6</span>, <span style="color: #cc66cc;">9</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">20</span></li><li style="" class="li2">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, <span style="color: #cc66cc;">9</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">19</span>, <span style="color: #cc66cc;">18</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">4</span>, <span style="color: #cc66cc;">8</span><span style="color: #66cc66;">)</span></li><li style="" class="li2">                <span style="color: #b1b100;">Case</span> <span style="color: #b1b100;">Else</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Constitucion<span style="color: #66cc66;">)</span> \ <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">)</span> - AdicionalHPCazador</li><li style="" class="li1">            <span style="color: #b1b100;">End</span> Select</li><li style="" class="li2">            <span style="color: #b1b100;">If</span> AumentoHP < <span style="color: #cc66cc;">1</span> <span style="color: #b1b100;">Then</span> AumentoHP = <span style="color: #cc66cc;">4</span></li><li style="" class="li1">            AumentoST = <span style="color: #cc66cc;">15</span> - AdicionalSTLadron / <span style="color: #cc66cc;">2</span></li><li style="" class="li1">            <span style="color: #b1b100;">If</span> AumentoST < <span style="color: #cc66cc;">1</span> <span style="color: #b1b100;">Then</span> AumentoST = <span style="color: #cc66cc;">5</span></li><li style="" class="li2">            AumentoHIT = <span style="color: #cc66cc;">1</span></li><li style="" class="li1">            AumentoMANA = <span style="color: #cc66cc;">2.2</span> * UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Inteligencia<span style="color: #66cc66;">)</span></li><li style="" class="li1">            </li><li style="" class="li2">            <span style="color: #808080;">'HP</span></li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxHP</span>, AumentoHP, STAT_MAXHP</li><li style="" class="li1">            <span style="color: #808080;">'STA</span></li><li style="" class="li2">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxSta</span>, AumentoST, STAT_MAXSTA</li><li style="" class="li1">            <span style="color: #808080;">'Mana</span></li><li style="" class="li1">            <span style="color: #b1b100;">Call</span> AddtoVar<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxMAN</span>, AumentoMANA, <span style="color: #b1b100;">IIf</span><span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">ELV</span> > <span style="color: #cc66cc;">35</span>, <span style="color: #cc66cc;">9999</span>, STAT_MAXMAN<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span></li><li style="" class="li2">            <span style="color: #808080;">'Golpe</span></li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxHIT</span>, AumentoHIT, STAT_MAXHIT</li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MinHIT</span>, AumentoHIT, STAT_MAXHIT</li><li style="" class="li2">        <span style="color: #b1b100;">Case</span> <span style="color: #ffffff;">"Leñador"</span></li><li style="" class="li1">        </li><li style="" class="li1">            Select <span style="color: #b1b100;">Case</span> UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Constitucion<span style="color: #66cc66;">)</span></li><li style="" class="li2">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">21</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">6</span>, <span style="color: #cc66cc;">9</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">20</span></li><li style="" class="li2">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, <span style="color: #cc66cc;">9</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">19</span>, <span style="color: #cc66cc;">18</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">4</span>, <span style="color: #cc66cc;">8</span><span style="color: #66cc66;">)</span></li><li style="" class="li2">                <span style="color: #b1b100;">Case</span> <span style="color: #b1b100;">Else</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Constitucion<span style="color: #66cc66;">)</span> \ <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">)</span> - AdicionalHPCazador</li><li style="" class="li1">            <span style="color: #b1b100;">End</span> Select</li><li style="" class="li2">            </li><li style="" class="li1">        </li><li style="" class="li1"> </li><li style="" class="li2">            AumentoST = <span style="color: #66cc66;">(</span>RadomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, <span style="color: #cc66cc;">15</span><span style="color: #66cc66;">)</span> - AdicionalSTLadron / <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">            AumentoHIT = <span style="color: #cc66cc;">2</span></li><li style="" class="li1">            </li><li style="" class="li2">            <span style="color: #808080;">'HP</span></li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxHP</span>, AumentoHP, STAT_MAXHP</li><li style="" class="li1">            <span style="color: #808080;">'STA</span></li><li style="" class="li2">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxSta</span>, AumentoST, STAT_MAXSTA</li><li style="" class="li1">            <span style="color: #808080;">'Golpe</span></li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxHIT</span>, AumentoHIT, STAT_MAXHIT</li><li style="" class="li2">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MinHIT</span>, AumentoHIT, STAT_MAXHIT</li></ol></div>[/vb]
Despues Nos Vamos A TCP.bas A CreateNewUser Y Buscamos:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1"><span style="color: #b1b100;">If</span> UserClase = <span style="color: #ffffff;">"Mago"</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">    MiInt = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">1</span>, UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Inteligencia<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> / <span style="color: #cc66cc;">3</span></li><li style="" class="li2">    UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxMAN</span> = <span style="color: #cc66cc;">100</span> + MiInt</li><li style="" class="li1">    UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MinMAN</span> = <span style="color: #cc66cc;">100</span> + MiInt</li></ol></div>[/vb]
Y Reemplazamos Por:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1"><span style="color: #b1b100;">If</span> UserClase = <span style="color: #ffffff;">"Mago"</span> <span style="color: #b1b100;">Or</span> <span style="color: #ffffff;">"Nigromante"</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">    MiInt = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">1</span>, UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Inteligencia<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> / <span style="color: #cc66cc;">3</span></li><li style="" class="li2">    UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxMAN</span> = <span style="color: #cc66cc;">100</span> + MiInt</li><li style="" class="li1">    UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MinMAN</span> = <span style="color: #cc66cc;">100</span> + MiInt</li></ol></div>[/vb]
Despues En Un Poco Mas Abajo Encontramos:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1"><span style="color: #b1b100;">If</span> UserClase = <span style="color: #ffffff;">"Mago"</span> <span style="color: #b1b100;">Or</span> UserClase = <span style="color: #ffffff;">"Clerigo"</span> <span style="color: #b1b100;">Or</span> _</li><li style="" class="li1">   UserClase = <span style="color: #ffffff;">"Druida"</span> <span style="color: #b1b100;">Or</span> UserClase = <span style="color: #ffffff;">"Bardo"</span> <span style="color: #b1b100;">Or</span> _</li><li style="" class="li2">   UserClase = <span style="color: #ffffff;">"Asesino"</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">        UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserHechizos</span><span style="color: #66cc66;">(</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">)</span> = <span style="color: #cc66cc;">2</span></li><li style="" class="li1"><span style="color: #b1b100;">End</span> <span style="color: #b1b100;">If</span></li></ol></div>[/vb]
Y Lo Reemplazamos Por:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1"><span style="color: #b1b100;">If</span> UserClase = <span style="color: #ffffff;">"Mago"</span> <span style="color: #b1b100;">Or</span> UserClase = <span style="color: #ffffff;">"Nigromante"</span> <span style="color: #b1b100;">Or</span> _</li><li style="" class="li1">   UserClase = <span style="color: #ffffff;">"Clerigo"</span> <span style="color: #b1b100;">Or</span> UserClase = <span style="color: #ffffff;">"Druida"</span> <span style="color: #b1b100;">Or</span> _</li><li style="" class="li2">   UserClase = <span style="color: #ffffff;">"Bardo"</span> <span style="color: #b1b100;">Or</span> UserClase = <span style="color: #ffffff;">"Asesino"</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">        UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserHechizos</span><span style="color: #66cc66;">(</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">)</span> = <span style="color: #cc66cc;">2</span></li><li style="" class="li1"><span style="color: #b1b100;">End</span> <span style="color: #b1b100;">If</span></li></ol></div>[/vb]
Luego Vamos A modHechizos Y Buscamos En Function PuedeLanzar:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">    <span style="color: #b1b100;">If</span> Hechizos<span style="color: #66cc66;">(</span>HechizoIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">NeedStaff</span> > <span style="color: #cc66cc;">0</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">        <span style="color: #b1b100;">If</span> <span style="color: #b1b100;">UCase</span>$<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Clase</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"MAGO"</span> <span style="color: #b1b100;">Then</span></li></ol></div>[/vb]
Y Reemplazamos Por:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">    <span style="color: #b1b100;">If</span> Hechizos<span style="color: #66cc66;">(</span>HechizoIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">NeedStaff</span> > <span style="color: #cc66cc;">0</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">        <span style="color: #b1b100;">If</span> <span style="color: #b1b100;">UCase</span>$<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Clase</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"MAGO"</span> <span style="color: #b1b100;">Or</span> <span style="color: #ffffff;">"NIGROMANTE"</span> <span style="color: #b1b100;">Then</span></li></ol></div>[/vb]
Ahora Buscamos:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">        <span style="color: #808080;">'revisamos si necesita vara</span></li><li style="" class="li1">        <span style="color: #b1b100;">If</span> <span style="color: #b1b100;">UCase</span>$<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Clase</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"MAGO"</span> <span style="color: #b1b100;">Then</span></li></ol></div>[/vb]
Y Reemplazamos Por:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">        <span style="color: #808080;">'revisamos si necesita vara</span></li><li style="" class="li1">        <span style="color: #b1b100;">If</span> <span style="color: #b1b100;">UCase</span>$<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Clase</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"MAGO"</span> <span style="color: #b1b100;">Or</span> <span style="color: #ffffff;">"NIGROMANTE"</span> <span style="color: #b1b100;">Then</span></li></ol></div>[/vb]
Ahora Buscamos:
[vb] If UCase$(UserList(UserIndex).Clase) = "MAGO" Then
If UserList(UserIndex).Invent.WeaponEqpObjIndex > 0 Then
En General.bas Buscan:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">17</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Pirata"</span></li></ol></div>[/vb]
Y Debajo Agregan:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">18</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Nigromante"</span></li></ol></div>[/vb]
Luego En El Modulo_UsUariOs.bas En El Sub CheckUserLevel Buscan:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">        <span style="color: #b1b100;">Case</span> <span style="color: #ffffff;">"Mago"</span></li><li style="" class="li1">            Select <span style="color: #b1b100;">Case</span> UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Constitucion<span style="color: #66cc66;">)</span></li><li style="" class="li2">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">21</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">6</span>, <span style="color: #cc66cc;">9</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">20</span></li><li style="" class="li2">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, <span style="color: #cc66cc;">9</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">19</span>, <span style="color: #cc66cc;">18</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">4</span>, <span style="color: #cc66cc;">8</span><span style="color: #66cc66;">)</span></li><li style="" class="li2">                <span style="color: #b1b100;">Case</span> <span style="color: #b1b100;">Else</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Constitucion<span style="color: #66cc66;">)</span> \ <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">)</span> - AdicionalHPCazador</li><li style="" class="li1">            <span style="color: #b1b100;">End</span> Select</li><li style="" class="li2">            <span style="color: #b1b100;">If</span> AumentoHP < <span style="color: #cc66cc;">1</span> <span style="color: #b1b100;">Then</span> AumentoHP = <span style="color: #cc66cc;">4</span></li><li style="" class="li1">            AumentoST = <span style="color: #cc66cc;">15</span> - AdicionalSTLadron / <span style="color: #cc66cc;">2</span></li><li style="" class="li1">            <span style="color: #b1b100;">If</span> AumentoST < <span style="color: #cc66cc;">1</span> <span style="color: #b1b100;">Then</span> AumentoST = <span style="color: #cc66cc;">5</span></li><li style="" class="li2">            AumentoHIT = <span style="color: #cc66cc;">1</span></li><li style="" class="li1">            AumentoMANA = <span style="color: #cc66cc;">3</span> * UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Inteligencia<span style="color: #66cc66;">)</span></li><li style="" class="li1">            </li><li style="" class="li2">            <span style="color: #808080;">'HP</span></li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxHP</span>, AumentoHP, STAT_MAXHP</li><li style="" class="li1">            <span style="color: #808080;">'STA</span></li><li style="" class="li2">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxSta</span>, AumentoST, STAT_MAXSTA</li><li style="" class="li1">            <span style="color: #808080;">'Mana</span></li><li style="" class="li1">            <span style="color: #b1b100;">Call</span> AddtoVar<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxMAN</span>, AumentoMANA, <span style="color: #b1b100;">IIf</span><span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">ELV</span> > <span style="color: #cc66cc;">35</span>, <span style="color: #cc66cc;">9999</span>, STAT_MAXMAN<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span></li><li style="" class="li2">            <span style="color: #808080;">'Golpe</span></li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxHIT</span>, AumentoHIT, STAT_MAXHIT</li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MinHIT</span>, AumentoHIT, STAT_MAXHIT</li><li style="" class="li2">        <span style="color: #b1b100;">Case</span> <span style="color: #ffffff;">"Leñador"</span></li><li style="" class="li1">        </li><li style="" class="li1">            Select <span style="color: #b1b100;">Case</span> UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Constitucion<span style="color: #66cc66;">)</span></li><li style="" class="li2">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">21</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">6</span>, <span style="color: #cc66cc;">9</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">20</span></li><li style="" class="li2">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, <span style="color: #cc66cc;">9</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">19</span>, <span style="color: #cc66cc;">18</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">4</span>, <span style="color: #cc66cc;">8</span><span style="color: #66cc66;">)</span></li><li style="" class="li2">                <span style="color: #b1b100;">Case</span> <span style="color: #b1b100;">Else</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Constitucion<span style="color: #66cc66;">)</span> \ <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">)</span> - AdicionalHPCazador</li><li style="" class="li1">            <span style="color: #b1b100;">End</span> Select</li><li style="" class="li2">            </li><li style="" class="li1">        </li><li style="" class="li1"> </li><li style="" class="li2">            AumentoST = <span style="color: #cc66cc;">15</span> + AdicionalSTLeñador</li><li style="" class="li1">            AumentoHIT = <span style="color: #cc66cc;">2</span></li><li style="" class="li1">            </li><li style="" class="li2">            <span style="color: #808080;">'HP</span></li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxHP</span>, AumentoHP, STAT_MAXHP</li><li style="" class="li1">            <span style="color: #808080;">'STA</span></li><li style="" class="li2">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxSta</span>, AumentoST, STAT_MAXSTA</li><li style="" class="li1">            <span style="color: #808080;">'Golpe</span></li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxHIT</span>, AumentoHIT, STAT_MAXHIT</li><li style="" class="li2">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MinHIT</span>, AumentoHIT, STAT_MAXHIT</li></ol></div>[/vb]
Y Debajo Agregan:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">        <span style="color: #b1b100;">Case</span> <span style="color: #ffffff;">"Nigromante"</span></li><li style="" class="li1">            Select <span style="color: #b1b100;">Case</span> UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Constitucion<span style="color: #66cc66;">)</span></li><li style="" class="li2">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">21</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">6</span>, <span style="color: #cc66cc;">9</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">20</span></li><li style="" class="li2">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, <span style="color: #cc66cc;">9</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">19</span>, <span style="color: #cc66cc;">18</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">4</span>, <span style="color: #cc66cc;">8</span><span style="color: #66cc66;">)</span></li><li style="" class="li2">                <span style="color: #b1b100;">Case</span> <span style="color: #b1b100;">Else</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Constitucion<span style="color: #66cc66;">)</span> \ <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">)</span> - AdicionalHPCazador</li><li style="" class="li1">            <span style="color: #b1b100;">End</span> Select</li><li style="" class="li2">            <span style="color: #b1b100;">If</span> AumentoHP < <span style="color: #cc66cc;">1</span> <span style="color: #b1b100;">Then</span> AumentoHP = <span style="color: #cc66cc;">4</span></li><li style="" class="li1">            AumentoST = <span style="color: #cc66cc;">15</span> - AdicionalSTLadron / <span style="color: #cc66cc;">2</span></li><li style="" class="li1">            <span style="color: #b1b100;">If</span> AumentoST < <span style="color: #cc66cc;">1</span> <span style="color: #b1b100;">Then</span> AumentoST = <span style="color: #cc66cc;">5</span></li><li style="" class="li2">            AumentoHIT = <span style="color: #cc66cc;">1</span></li><li style="" class="li1">            AumentoMANA = <span style="color: #cc66cc;">2.2</span> * UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Inteligencia<span style="color: #66cc66;">)</span></li><li style="" class="li1">            </li><li style="" class="li2">            <span style="color: #808080;">'HP</span></li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxHP</span>, AumentoHP, STAT_MAXHP</li><li style="" class="li1">            <span style="color: #808080;">'STA</span></li><li style="" class="li2">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxSta</span>, AumentoST, STAT_MAXSTA</li><li style="" class="li1">            <span style="color: #808080;">'Mana</span></li><li style="" class="li1">            <span style="color: #b1b100;">Call</span> AddtoVar<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxMAN</span>, AumentoMANA, <span style="color: #b1b100;">IIf</span><span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">ELV</span> > <span style="color: #cc66cc;">35</span>, <span style="color: #cc66cc;">9999</span>, STAT_MAXMAN<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span></li><li style="" class="li2">            <span style="color: #808080;">'Golpe</span></li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxHIT</span>, AumentoHIT, STAT_MAXHIT</li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MinHIT</span>, AumentoHIT, STAT_MAXHIT</li><li style="" class="li2">        <span style="color: #b1b100;">Case</span> <span style="color: #ffffff;">"Leñador"</span></li><li style="" class="li1">        </li><li style="" class="li1">            Select <span style="color: #b1b100;">Case</span> UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Constitucion<span style="color: #66cc66;">)</span></li><li style="" class="li2">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">21</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">6</span>, <span style="color: #cc66cc;">9</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">20</span></li><li style="" class="li2">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, <span style="color: #cc66cc;">9</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">                <span style="color: #b1b100;">Case</span> <span style="color: #cc66cc;">19</span>, <span style="color: #cc66cc;">18</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">4</span>, <span style="color: #cc66cc;">8</span><span style="color: #66cc66;">)</span></li><li style="" class="li2">                <span style="color: #b1b100;">Case</span> <span style="color: #b1b100;">Else</span></li><li style="" class="li1">                    AumentoHP = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Constitucion<span style="color: #66cc66;">)</span> \ <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">)</span> - AdicionalHPCazador</li><li style="" class="li1">            <span style="color: #b1b100;">End</span> Select</li><li style="" class="li2">            </li><li style="" class="li1">        </li><li style="" class="li1"> </li><li style="" class="li2">            AumentoST = <span style="color: #66cc66;">(</span>RadomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span>, <span style="color: #cc66cc;">15</span><span style="color: #66cc66;">)</span> - AdicionalSTLadron / <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">)</span></li><li style="" class="li1">            AumentoHIT = <span style="color: #cc66cc;">2</span></li><li style="" class="li1">            </li><li style="" class="li2">            <span style="color: #808080;">'HP</span></li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxHP</span>, AumentoHP, STAT_MAXHP</li><li style="" class="li1">            <span style="color: #808080;">'STA</span></li><li style="" class="li2">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxSta</span>, AumentoST, STAT_MAXSTA</li><li style="" class="li1">            <span style="color: #808080;">'Golpe</span></li><li style="" class="li1">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxHIT</span>, AumentoHIT, STAT_MAXHIT</li><li style="" class="li2">            AddtoVar UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MinHIT</span>, AumentoHIT, STAT_MAXHIT</li></ol></div>[/vb]
Despues Nos Vamos A TCP.bas A CreateNewUser Y Buscamos:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1"><span style="color: #b1b100;">If</span> UserClase = <span style="color: #ffffff;">"Mago"</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">    MiInt = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">1</span>, UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Inteligencia<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> / <span style="color: #cc66cc;">3</span></li><li style="" class="li2">    UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxMAN</span> = <span style="color: #cc66cc;">100</span> + MiInt</li><li style="" class="li1">    UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MinMAN</span> = <span style="color: #cc66cc;">100</span> + MiInt</li></ol></div>[/vb]
Y Reemplazamos Por:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1"><span style="color: #b1b100;">If</span> UserClase = <span style="color: #ffffff;">"Mago"</span> <span style="color: #b1b100;">Or</span> <span style="color: #ffffff;">"Nigromante"</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">    MiInt = RandomNumber<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">1</span>, UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserAtributos</span><span style="color: #66cc66;">(</span>Inteligencia<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> / <span style="color: #cc66cc;">3</span></li><li style="" class="li2">    UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MaxMAN</span> = <span style="color: #cc66cc;">100</span> + MiInt</li><li style="" class="li1">    UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">MinMAN</span> = <span style="color: #cc66cc;">100</span> + MiInt</li></ol></div>[/vb]
Despues En Un Poco Mas Abajo Encontramos:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1"><span style="color: #b1b100;">If</span> UserClase = <span style="color: #ffffff;">"Mago"</span> <span style="color: #b1b100;">Or</span> UserClase = <span style="color: #ffffff;">"Clerigo"</span> <span style="color: #b1b100;">Or</span> _</li><li style="" class="li1">   UserClase = <span style="color: #ffffff;">"Druida"</span> <span style="color: #b1b100;">Or</span> UserClase = <span style="color: #ffffff;">"Bardo"</span> <span style="color: #b1b100;">Or</span> _</li><li style="" class="li2">   UserClase = <span style="color: #ffffff;">"Asesino"</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">        UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserHechizos</span><span style="color: #66cc66;">(</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">)</span> = <span style="color: #cc66cc;">2</span></li><li style="" class="li1"><span style="color: #b1b100;">End</span> <span style="color: #b1b100;">If</span></li></ol></div>[/vb]
Y Lo Reemplazamos Por:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1"><span style="color: #b1b100;">If</span> UserClase = <span style="color: #ffffff;">"Mago"</span> <span style="color: #b1b100;">Or</span> UserClase = <span style="color: #ffffff;">"Nigromante"</span> <span style="color: #b1b100;">Or</span> _</li><li style="" class="li1">   UserClase = <span style="color: #ffffff;">"Clerigo"</span> <span style="color: #b1b100;">Or</span> UserClase = <span style="color: #ffffff;">"Druida"</span> <span style="color: #b1b100;">Or</span> _</li><li style="" class="li2">   UserClase = <span style="color: #ffffff;">"Bardo"</span> <span style="color: #b1b100;">Or</span> UserClase = <span style="color: #ffffff;">"Asesino"</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">        UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Stats</span>.<span style="color: #66cc66;">UserHechizos</span><span style="color: #66cc66;">(</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">)</span> = <span style="color: #cc66cc;">2</span></li><li style="" class="li1"><span style="color: #b1b100;">End</span> <span style="color: #b1b100;">If</span></li></ol></div>[/vb]
Luego Vamos A modHechizos Y Buscamos En Function PuedeLanzar:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">    <span style="color: #b1b100;">If</span> Hechizos<span style="color: #66cc66;">(</span>HechizoIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">NeedStaff</span> > <span style="color: #cc66cc;">0</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">        <span style="color: #b1b100;">If</span> <span style="color: #b1b100;">UCase</span>$<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Clase</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"MAGO"</span> <span style="color: #b1b100;">Then</span></li></ol></div>[/vb]
Y Reemplazamos Por:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">    <span style="color: #b1b100;">If</span> Hechizos<span style="color: #66cc66;">(</span>HechizoIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">NeedStaff</span> > <span style="color: #cc66cc;">0</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">        <span style="color: #b1b100;">If</span> <span style="color: #b1b100;">UCase</span>$<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Clase</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"MAGO"</span> <span style="color: #b1b100;">Or</span> <span style="color: #ffffff;">"NIGROMANTE"</span> <span style="color: #b1b100;">Then</span></li></ol></div>[/vb]
Ahora Buscamos:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">        <span style="color: #808080;">'revisamos si necesita vara</span></li><li style="" class="li1">        <span style="color: #b1b100;">If</span> <span style="color: #b1b100;">UCase</span>$<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Clase</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"MAGO"</span> <span style="color: #b1b100;">Then</span></li></ol></div>[/vb]
Y Reemplazamos Por:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">        <span style="color: #808080;">'revisamos si necesita vara</span></li><li style="" class="li1">        <span style="color: #b1b100;">If</span> <span style="color: #b1b100;">UCase</span>$<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Clase</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"MAGO"</span> <span style="color: #b1b100;">Or</span> <span style="color: #ffffff;">"NIGROMANTE"</span> <span style="color: #b1b100;">Then</span></li></ol></div>[/vb]
Ahora Buscamos:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">        <span style="color: #b1b100;">If</span> <span style="color: #b1b100;">UCase</span>$<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Clase</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"MAGO"</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">            <span style="color: #b1b100;">If</span> UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Invent</span>.<span style="color: #66cc66;">WeaponEqpObjIndex</span> > <span style="color: #cc66cc;">0</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li2">                daño = <span style="color: #66cc66;">(</span>daño * <span style="color: #66cc66;">(</span>ObjData<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Invent</span>.<span style="color: #66cc66;">WeaponEqpObjIndex</span><span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">StaffDamageBonus</span> + <span style="color: #cc66cc;">70</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> / <span style="color: #cc66cc;">100</span></li><li style="" class="li1">                <span style="color: #808080;">'Aumenta daño segun el staff-</span></li><li style="" class="li1">                <span style="color: #808080;">'Daño = (Daño* (80 + BonifBáculo)) / 100</span></li><li style="" class="li2">            <span style="color: #b1b100;">Else</span></li><li style="" class="li1">                daño = daño * <span style="color: #cc66cc;">0.7</span> <span style="color: #808080;">'Baja daño a 80% del original</span></li><li style="" class="li1">            <span style="color: #b1b100;">End</span> <span style="color: #b1b100;">If</span></li><li style="" class="li2">        <span style="color: #b1b100;">End</span> <span style="color: #b1b100;">If</span></li><li style="" class="li1">    <span style="color: #b1b100;">End</span> <span style="color: #b1b100;">If</span></li></ol></div>[/vb]
Y Reemplazamos Por:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">        <span style="color: #b1b100;">If</span> <span style="color: #b1b100;">UCase</span>$<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Clase</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"MAGO"</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">            <span style="color: #b1b100;">If</span> UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Invent</span>.<span style="color: #66cc66;">WeaponEqpObjIndex</span> > <span style="color: #cc66cc;">0</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li2">                daño = <span style="color: #66cc66;">(</span>daño * <span style="color: #66cc66;">(</span>ObjData<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Invent</span>.<span style="color: #66cc66;">WeaponEqpObjIndex</span><span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">StaffDamageBonus</span> + <span style="color: #cc66cc;">70</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> / <span style="color: #cc66cc;">100</span></li><li style="" class="li1">                <span style="color: #808080;">'Aumenta daño segun el staff-</span></li><li style="" class="li1">                <span style="color: #808080;">'Daño = (Daño* (80 + BonifBáculo)) / 100</span></li><li style="" class="li2">        <span style="color: #b1b100;">Elseif</span> <span style="color: #b1b100;">UCase</span>$<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Clase</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"NIGROMANTE"</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">                daño = <span style="color: #66cc66;">(</span>daño * <span style="color: #66cc66;">(</span>ObjData<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Invent</span>.<span style="color: #66cc66;">WeaponEqpObjIndex</span><span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">StaffDamageBonus</span> + <span style="color: #cc66cc;">60</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> / <span style="color: #cc66cc;">100</span></li><li style="" class="li1">            <span style="color: #b1b100;">Else</span></li><li style="" class="li2">                daño = daño * <span style="color: #cc66cc;">0.7</span> <span style="color: #808080;">'Baja daño a 80% del original</span></li><li style="" class="li1">            <span style="color: #b1b100;">End</span> <span style="color: #b1b100;">If</span></li><li style="" class="li1">        <span style="color: #b1b100;">End</span> <span style="color: #b1b100;">If</span></li><li style="" class="li2">    <span style="color: #b1b100;">End</span> <span style="color: #b1b100;">If</span></li></ol></div>[/vb]
Luego Buscamos:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">        <span style="color: #b1b100;">If</span> <span style="color: #b1b100;">UCase</span>$<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Clase</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"MAGO"</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">            <span style="color: #b1b100;">If</span> UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Invent</span>.<span style="color: #66cc66;">WeaponEqpObjIndex</span> > <span style="color: #cc66cc;">0</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li2">                daño = <span style="color: #66cc66;">(</span>daño * <span style="color: #66cc66;">(</span>ObjData<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Invent</span>.<span style="color: #66cc66;">WeaponEqpObjIndex</span><span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">StaffDamageBonus</span> + <span style="color: #cc66cc;">70</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> / <span style="color: #cc66cc;">100</span></li><li style="" class="li1">            <span style="color: #b1b100;">Else</span></li><li style="" class="li1">                daño = daño * <span style="color: #cc66cc;">0.7</span> <span style="color: #808080;">'Baja daño a 70% del original</span></li><li style="" class="li2">            <span style="color: #b1b100;">End</span> <span style="color: #b1b100;">If</span></li><li style="" class="li1">        <span style="color: #b1b100;">End</span> <span style="color: #b1b100;">If</span></li><li style="" class="li1">    <span style="color: #b1b100;">End</span> <span style="color: #b1b100;">If</span></li></ol></div>[/vb]
Y Reemplazamos Por:
[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1">        <span style="color: #b1b100;">If</span> <span style="color: #b1b100;">UCase</span>$<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Clase</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"MAGO"</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">            <span style="color: #b1b100;">If</span> UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Invent</span>.<span style="color: #66cc66;">WeaponEqpObjIndex</span> > <span style="color: #cc66cc;">0</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li2">                daño = <span style="color: #66cc66;">(</span>daño * <span style="color: #66cc66;">(</span>ObjData<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Invent</span>.<span style="color: #66cc66;">WeaponEqpObjIndex</span><span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">StaffDamageBonus</span> + <span style="color: #cc66cc;">70</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> / <span style="color: #cc66cc;">100</span></li><li style="" class="li1">        <span style="color: #b1b100;">Elseif</span> <span style="color: #b1b100;">UCase</span>$<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Clase</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"NIGROMANTE"</span> <span style="color: #b1b100;">Then</span></li><li style="" class="li1">                daño = <span style="color: #66cc66;">(</span>daño * <span style="color: #66cc66;">(</span>ObjData<span style="color: #66cc66;">(</span>UserList<span style="color: #66cc66;">(</span>UserIndex<span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">Invent</span>.<span style="color: #66cc66;">WeaponEqpObjIndex</span><span style="color: #66cc66;">)</span>.<span style="color: #66cc66;">StaffDamageBonus</span> + <span style="color: #cc66cc;">60</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> / <span style="color: #cc66cc;">100</span></li><li style="" class="li2">            <span style="color: #b1b100;">Else</span></li><li style="" class="li1">                daño = daño * <span style="color: #cc66cc;">0.7</span> <span style="color: #808080;">'Baja daño a 70% del original</span></li><li style="" class="li1">            <span style="color: #b1b100;">End</span> <span style="color: #b1b100;">If</span></li><li style="" class="li2">        <span style="color: #b1b100;">End</span> <span style="color: #b1b100;">If</span></li><li style="" class="li1">    <span style="color: #b1b100;">End</span> <span style="color: #b1b100;">If</span></li></ol></div>[/vb]
Esto Solo Es Una Base Para Que Se Guien De Como Agregar Una Clase Nueva. Les Hago Unas Aclaraciones Los Valores De Vida, Mana, Etc, Etc Pueden Ser Modificados A Gusto Y Tmb Se Pueden Agregar Otras Variables Mas Como Son Mods De Evasion, Ataque Con Armas De Proyectiles, Etc.

Suerte
 

Shura

Dragón Ancestral Lvl 2
eso que vos decis es igual es porq uno se encuentra en HechizoPropNPC y el otro en HechizoPropUsuario
 
A

Anonymous

Invitado
q ahi q modificar en el codigo del cleinte para que te aparesca esta nueva clase en el crear personajes?
 
A

Anonymous

Invitado
me tira ATRIBUTOS INVALIDOS a la hora de crearme el personaje, alguien sabe porq?
saludso
 

DarkThom

Oráculo Lvl 3
-Shura dijo:
y al pobre le falta, cabeza de arriva y de avajo tmb, una buena paja, una buena mi mami (bueh la vieja de el) y una ponida de pinchila al tok

vos no sos shura , pueden banear a ese idiota ya l ovi en varias ocasiones a ese "-Shura"

, shura Podrias Terminar todo Para queAnde: P ?
 

DarkThom

Oráculo Lvl 3
Porfa Perdonen por revivir pero me interesa mucho como agregar clases , Me dirias como terminar esto Alguien plz ?
 

DarkThom

Oráculo Lvl 3
No se Molesten en Responder porque se me ocurrio Buscar "MAGO" y todo lo que salia lo copie y cambie "MAGO" por "NIGROMANTE"

Y Yal o Agregue al Cliente ( gracias facu )

Y Ahora ME Anda de 10 el Nigromante :p
 

ChaOS

Newbie Lvl 1
ise todo, pero no me aparese el nigromante cuando pongo crear personaje(lo ise en el server ready)


tendria qe hacer un cliente ??
 

Blizzard

Oráculo Lvl 5
PARA CHAOS

Eso es porq no pusiste la clase en la lista en el frmcrearpersonaje tenes que agregarlo ahi en las propiedades de la lista.
 

Amrod

Newbie Lvl 5
Blizzard dijo:
PARA CHAOS

Eso es porq no pusiste la clase en la lista en el frmcrearpersonaje tenes que agregarlo ahi en las propiedades de la lista.

Blizzard, cómo hacés para sacar profesiones de la lstProfesion del frmCrearPersonaje?
 

facundo

Oráculo Lvl 3
No soy blizzard pero te respondo..

Buscas

[vb]<div class="vb" id="{CB}" style="font-family: monospace;"><ol><li style="" class="li1"><span style="color: #b1b100;">ReDim</span> ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">1</span> <span style="color: #b1b100;">To</span> NUMCLASES<span style="color: #66cc66;">)</span> <span style="color: #b1b100;">As</span> <span style="color: #b1b100;">String</span></li><li style="" class="li2">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Mago"</span></li><li style="" class="li1">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">2</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Clerigo"</span></li><li style="" class="li2">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">3</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Guerrero"</span></li><li style="" class="li1">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">4</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Asesino"</span></li><li style="" class="li2">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">5</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Ladron"</span></li><li style="" class="li1">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">6</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Bardo"</span></li><li style="" class="li2">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">7</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Druida"</span></li><li style="" class="li1">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">8</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Bandido"</span></li><li style="" class="li2">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">9</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Paladin"</span></li><li style="" class="li1">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">10</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Cazador"</span></li><li style="" class="li2">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">11</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Pescador"</span></li><li style="" class="li1">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">12</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Herrero"</span></li><li style="" class="li2">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">13</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Leñador"</span></li><li style="" class="li1">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">14</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Minero"</span></li><li style="" class="li2">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">15</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Carpintero"</span></li><li style="" class="li1">ListaClases<span style="color: #66cc66;">(</span><span style="color: #cc66cc;">16</span><span style="color: #66cc66;">)</span> = <span style="color: #ffffff;">"Pirata"</span></li></ol></div>[/vb]
Y ahi eliminas la que queres
 
A

Anonymous

Invitado
me chupa la pija vos y el asunto boludo

me chupa la japi vos y los happy tree friends boludo.
 
Estado
Cerrado para nuevas respuestas.
Arriba