Postado Dezembro 13, 2019 5 anos Como Aumenta o limite de transformações de um personagem? Exemplo> Tenho um c16 ele só transformar 4 vezes, como faço para aumenta esse limite de transformações dele? fica nesse limite e não transformar mais, mesmo eu tendo adicionado no XML e no arq de transform até a 5 transformação.
Postado Dezembro 13, 2019 5 anos MAnda aqui o login.lua, vocations.xml e transformations (do creaturescrupts)
Postado Dezembro 13, 2019 5 anos Autor 22 minutos atrás, BrazItzMe disse: MAnda aqui o login.lua, vocations.xml e transformations (do creaturescrupts) Login elseif getPlayerVocation(cid) == 323 then --- c16 doPlayerSetVocation(cid, 290) Não tem o transformations (do creaturescrupts) Vocation.xml <vocation id="30" name="C161" outfit="157" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="30"> <formula meleeDamage="9.0" distDamage="1.0" wandDamage="1.0" magDamage="11.0" magHealingDamage="8.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/> </vocation> <vocation id="31" name="C162" outfit="158" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="31"> <formula meleeDamage="12.0" distDamage="1.0" wandDamage="1.0" magDamage="13.0" magHealingDamage="12.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/> </vocation> <vocation id="32" name="C163" outfit="159" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="32"> <formula meleeDamage="15.0" distDamage="1.0" wandDamage="1.0" magDamage="17.0" magHealingDamage="15.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/> </vocation> <vocation id="33" name="C164" outfit="160" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="33"> <formula meleeDamage="5.0" distDamage="1.0" wandDamage="1.0" magDamage="8.0" magHealingDamage="5.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/> </vocation> <vocation id="34" name="C165" outfit="161" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="34"> <formula meleeDamage="7.0" distDamage="1.0" wandDamage="1.0" magDamage="10.0" magHealingDamage="7.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/> </vocation> <vocation id="35" name="C166" outfit="162" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="35"> <formula meleeDamage="12.0" distDamage="1.0" wandDamage="1.0" magDamage="13.0" magHealingDamage="12.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/> </vocation> <vocation id="36" name="C167" outfit="163" effect="5" interval="1600" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="36"> <formula meleeDamage="17.0" distDamage="1.0" wandDamage="1.0" magDamage="18.0" magHealingDamage="17.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/> </vocation> <vocation id="37" name="C168" outfit="164" effect="5" interval="1600" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="37"> <formula meleeDamage="23.0" distDamage="1.0" wandDamage="1.0" magDamage="20.0" magHealingDamage="22.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/> </vocation> <vocation id="38" name="C169" outfit="165" effect="6" interval="1600" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="38"> <formula meleeDamage="28.0" distDamage="1.0" wandDamage="1.0" magDamage="23.0" magHealingDamage="26.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/> </vocation> <vocation id="39" name="C1610" outfit="166" effect="4" interval="1600" corpse="9935" fecorpse="9935" description="a androide N°16" needpremium="0" gaincap="50" gainhp="230" gainmana="170" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.1" attackspeed="1200" soulmax="100" gainsoulticks="10" fromvoc="39"> <formula meleeDamage="33.0" distDamage="1.0" wandDamage="1.0" magDamage="26.0" magHealingDamage="31.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.2" sword="2.0" axe="2.0" distance="2.0" shielding="1.3" fishing="1.1" experience="1.0"/> </vocation> Editado Dezembro 13, 2019 5 anos por XGaduX (veja o histórico de edições)
Postado Dezembro 13, 2019 5 anos Autor 1 minuto atrás, BrazItzMe disse: @XGaduX olha em talkactions se tem transformations então e manda aq transform.lua c161 = {lookType=157} c162= {lookType=158} c163= {lookType=159} c164= {lookType=160} c165= {lookType=161} c166= {lookType=162} c167= {lookType=163} c168= {lookType=164} c169= {lookType=165} c1610= {lookType=166} --------C16-------- elseif getPlayerVocation(cid) == 30 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,31) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c162) addEvent(color,0,cid) exhaustion.set(cid, 103, 1) else doPlayerSendCancel(cid, "You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 31 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,32) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c163) addEvent(color,0,cid) exhaustion.set(cid, 103, 1) else doPlayerSendCancel(cid, "You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 32 then if getPlayerLevel(cid) >= 200 then doPlayerSetVocation(cid,33) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health4) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana4) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c164) addEvent(color,0,cid) exhaustion.set(cid, 103, 1) else doPlayerSendCancel(cid, "You need 200 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 34 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,35) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c165) addEvent(color,0,cid) exhaustion.set(cid, 103, 1) else doPlayerSendCancel(cid, "You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 35 then if getPlayerLevel(cid) >= 100 then doPlayerSetVocation(cid,36) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health2) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana2) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c166) addEvent(color,0,cid) exhaustion.set(cid, 103, 1) else doPlayerSendCancel(cid, "You need 100 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 36 then if getPlayerLevel(cid) >= 150 then doPlayerSetVocation(cid,37) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health3) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana3) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c167) addEvent(color,0,cid) exhaustion.set(cid, 103, 1) else doPlayerSendCancel(cid, "You need 150 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 37 then if getPlayerLevel(cid) >= 30 then doPlayerSetVocation(cid,38) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c168) addEvent(color,0,cid) exhaustion.set(cid, 103, 1) else doPlayerSendCancel(cid, "You need 30 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end elseif getPlayerVocation(cid) == 38 then if getPlayerLevel(cid) >= 50 then doPlayerSetVocation(cid,39) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+health1) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+mana1) doCreatureAddHealth(cid, 1) doCreatureAddMana(cid, 1) doCreatureChangeOutfit(cid, c169) addEvent(color,0,cid) exhaustion.set(cid, 103, 1) else doPlayerSendCancel(cid, "You need 50 level to transform.") doSendMagicEffect(getPlayerPosition(cid), 2) end transform.lua Editado Dezembro 13, 2019 5 anos por XGaduX (veja o histórico de edições)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.