Jump to content
Sign in to follow this  
Angeluz

Ayuda con pet system

Recommended Posts

2 hours ago, Angeluz said:

Hola buenas, resulta que tengo un problema con el pet system y no puedo hacer aparecer la sección de evolution, adjunto el link donde pedí ayuda en otra parte

 

https://rathena.org/board/topic/122895-pet-evolution-error-ui/#comment-374076

Intenta agregando esto en tu pet_db.yml:

  - Mob: TEDDY_BEAR
    TameItem: Small_Needle_Kit
    EggItem: Teddy_Bear_Egg
    FoodItem: Cotton_Tufts
    Fullness: 3
    IntimacyFed: 50
    CaptureRate: 2000
    Script: >
      [email protected] = getpetinfo(PETINFO_INTIMATE);
      
      if ([email protected] >= PET_INTIMATE_LOYAL) {
        bonus bMaxSP,150;
      } else if ([email protected] >= PET_INTIMATE_CORDIAL) {
        bonus bMaxSP,100;
      }
    Evolution:
      - Target: XM_TEDDY_BEAR
        ItemRequirements:
          - Item: Small_Needle_Kit
            Amount: 3
          - Item: Cursed_Seal
            Amount: 300
          - Item: Cardinal_Jewel_
            Amount: 50
          - Item: Teddy_Bear_Card
            Amount: 1
      - Target: ALIOT
        ItemRequirements:
          - Item: Screw
            Amount: 500
          - Item: Honey
            Amount: 100
          - Item: White_Jewel
            Amount: 10
          - Item: Teddy_Bear_Card
            Amount: 1
      - Target: ALICEL
        ItemRequirements:
          - Item: Screw
            Amount: 500
          - Item: Honey
            Amount: 100
          - Item: Bloody_Page
            Amount: 50
          - Item: Teddy_Bear_Card
            Amount: 1
			
  - Mob: XM_TEDDY_BEAR
    EggItem: Xm_Teddy_Bear_Egg
    FoodItem: Pet_Food
    Fullness: 2
    HungryDelay: 120
    IntimacyFed: 15
    CaptureRate: 0
    SpecialPerformance: false
    AllowAutoFeed: true
    Script: >
      [email protected] = getpetinfo(PETINFO_INTIMATE);
      
      if ([email protected] >= PET_INTIMATE_LOYAL) {
        bonus bMaxSP,150;
        autobonus "{ bonus2 bSPRegenRate,40,1000; }",30,5000,BF_MAGIC;
      } else if ([email protected] >= PET_INTIMATE_CORDIAL) {
        bonus bMaxSP,150;
        autobonus "{ bonus2 bSPRegenRate,30,1000; }",30,5000,BF_MAGIC;
      } else if ([email protected] >= PET_INTIMATE_NEUTRAL) {
        bonus bMaxSP,100;
      } else {
        bonus bMaxSP,50;
      }
  - Mob: ALIOT
    EggItem: Aliot_Egg
    FoodItem: Pet_Food
    Fullness: 2
    HungryDelay: 120
    IntimacyFed: 15
    CaptureRate: 0
    SpecialPerformance: false
    AllowAutoFeed: true
    Script: >
      [email protected] = getpetinfo(PETINFO_INTIMATE);
      
      if ([email protected] >= PET_INTIMATE_LOYAL) {
        bonus bAspdRate,5;
        bonus bHit,12;
      } else if ([email protected] >= PET_INTIMATE_CORDIAL) {
        bonus bAspdRate,4;
        bonus bHit,9;
      } else if ([email protected] >= PET_INTIMATE_NEUTRAL) {
        bonus bAspdRate,3;
        bonus bHit,6;
      } else {
        bonus bAspdRate,2;
      }
  - Mob: ALICEL
    EggItem: Alicel_Egg
    FoodItem: Pet_Food
    Fullness: 2
    HungryDelay: 120
    IntimacyFed: 15
    CaptureRate: 0
    SpecialPerformance: false
    AllowAutoFeed: true
    Script: >
      [email protected] = getpetinfo(PETINFO_INTIMATE);
      
      if ([email protected] >= PET_INTIMATE_LOYAL) {
        bonus bCastrate,-5;
        bonus2 bMagicAddEle,Ele_Neutral,5;
      } else if ([email protected] >= PET_INTIMATE_CORDIAL) {
        bonus bCastrate,-4;
        bonus2 bMagicAddEle,Ele_Neutral,3;
      } else if ([email protected] >= PET_INTIMATE_NEUTRAL) {
        bonus bCastrate,-3;
      } else {
        bonus bCastrate,-2;
      }	  

Recuerda agregar los items que requiere la pet "eggitem, fooditem, quest items, etc".

Share this post


Link to post
Share on other sites
Posted (edited)

Tampoco me sirvió, pero mira traté de colocar que evolucione en un Angeling pero sólo en el PetEvolutionCln
image.png.e758efa5e661bc9ef3ea16720c983043.png

	InsertEvolutionRecipeLGU(9099, 9088, 503, 20)
	InsertEvolutionRecipeLGU(9099, 9088, 2282, 1)
	InsertEvolutionRecipeLGU(9099, 9088, 509, 50)
	InsertEvolutionRecipeLGU(9099, 9088, 909, 200)
  - Mob: TEDDY_BEAR
    TameItem: Small_Needle_Kit
    EggItem: Teddy_Bear_Egg
    FoodItem: Cotton_Tufts
    Fullness: 3
    IntimacyFed: 50
    CaptureRate: 2000
    Script: >
      [email protected] = getpetinfo(PETINFO_INTIMATE);
      
      if( [email protected] >= PET_INTIMATE_CORDIAL ){
        bonus bMaxSP,150;
      }
    Evolution:
      - Target: XM_TEDDY_BEAR
        ItemRequirements:
          - Item: Yellow_Potion
            Amount: 20
          - Item: Spirit_Chain
            Amount: 1
          - Item: White_Herb
            Amount: 50
          - Item: Jellopy
            Amount: 200

 

Pero si coloco el egg del Xm_Teddy_Bear_Egg (9108)

image.png.ac08ac654f645af2a1af21dbb4e1bdd2.png

	InsertEvolutionRecipeLGU(9099, 9108, 503, 20)
	InsertEvolutionRecipeLGU(9099, 9108, 2282, 1)
	InsertEvolutionRecipeLGU(9099, 9108, 509, 50)
	InsertEvolutionRecipeLGU(9099, 9108, 909, 200)

 

  - Mob: TEDDY_BEAR
    TameItem: Small_Needle_Kit
    EggItem: Teddy_Bear_Egg
    FoodItem: Cotton_Tufts
    Fullness: 3
    IntimacyFed: 50
    CaptureRate: 2000
    Script: >
      [email protected] = getpetinfo(PETINFO_INTIMATE);
      
      if( [email protected] >= PET_INTIMATE_CORDIAL ){
        bonus bMaxSP,150;
      }
    Evolution:
      - Target: XM_TEDDY_BEAR
        ItemRequirements:
          - Item: Yellow_Potion
            Amount: 20
          - Item: Spirit_Chain
            Amount: 1
          - Item: White_Herb
            Amount: 50
          - Item: Jellopy
            Amount: 200


Al intentar hacerlo evolucionar teniendo los items aparece el siguiente mensaje

image.png.6cccffc162cc7f8cc9ce91d59abeb0fd.png

por lo que aunque parezca angeling no hace la unión tampoco

Edited by Angeluz

Share this post


Link to post
Share on other sites

Qué proyecto de data utilizas?

Share this post


Link to post
Share on other sites
On 6/29/2020 at 10:47 PM, Mael said:

Qué proyecto de data utilizas?

ahí me pillaste, es una mezcla entre zack's corner y otros, he ido modificando muchos archivos

Share this post


Link to post
Share on other sites
1 minute ago, Angeluz said:

ahí me pillaste, es una mezcla entre zack's corner y otros, he ido modificando muchos archivos

Si logras ubicar lo que modificaste, podrías migrar al proyecto de llChrisll:

https://github.com/llchrisll/ROenglishRE

Quizá te estén faltando datos en los luas de pets.

  • Love 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.