Jump to content
  • 0

Pet Evolution


ran0120

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.04
  • Content Count:  25
  • Reputation:   0
  • Joined:  05/18/23
  • Last Seen:  

I added the charmader line in the database but the evolution still doesn't work.

pet_db.yml

  - Mob: CHARMANDER
    TameItem: Unripe_Apple
    EggItem: Pokeball_Charmander
    FoodItem: Live_Coal
    Fullness: 3
    IntimacyFed: 50
    CaptureRate: 2000
    Script: >
      .@i = getpetinfo(PETINFO_INTIMATE);
      
      if (.@i >= PET_INTIMATE_LOYAL) {
        bonus bLuk,3;
        bonus bCritical,1;
      } else if (.@i >= PET_INTIMATE_CORDIAL) {
        bonus bLuk,2;
        bonus bCritical,1;
      }
    Evolution:
      - Target: CHARMELEON
        ItemRequirements:
          - Item: Leaf_Of_Yggdrasil
            Amount: 10
          - Item: Unripe_Apple
            Amount: 3
  - Mob: CHARMELEON
    EggItem: Pokeball_Charmeleon
    FoodItem: Cold_Magma
    Fullness: 2
    HungryDelay: 120
    IntimacyFed: 15
    CaptureRate: 0
    SpecialPerformance: false
    AllowAutoFeed: true
    Script: >
      .@i = getpetinfo(PETINFO_INTIMATE);
      
      if (.@i >= PET_INTIMATE_LOYAL) {
        bonus bLuk,3;
        bonus bCritical,3;
      } else if (.@i >= PET_INTIMATE_CORDIAL) {
        bonus bLuk,3;
        bonus bCritical,2;
      } else if (.@i >= PET_INTIMATE_NEUTRAL) {
        bonus bLuk,3;
        bonus bCritical,1;
      } else {
        bonus bLuk,2;
        bonus bCritical,1;
      }
    Evolution:
      - Target: CHARIZARD
        ItemRequirements:
          - Item: Leaf_Of_Yggdrasil
            Amount: 10
          - Item: Unripe_Apple
            Amount: 3
  - Mob: CHARIZARD
    EggItem: Pokeball_Charizard
    Fullness: 1
    HungryDelay: 120
    IntimacyFed: 15
    CaptureRate: 0
    SpecialPerformance: false
    AllowAutoFeed: true
    Script: >
      .@i = getpetinfo(PETINFO_INTIMATE);
      
      if (.@i >= PET_INTIMATE_LOYAL) {
        bonus bMaxHPrate,2;
        bonus bHealPower,8;
      } else if (.@i >= PET_INTIMATE_CORDIAL) {
        bonus bMaxHPrate,2;
        bonus bHealPower,6;
      } else if (.@i >= PET_INTIMATE_NEUTRAL) {
        bonus bMaxHPrate,1;
        bonus bHealPower,4;
      } else {
        bonus bMaxHPrate,1;
        bonus bHealPower,2;
      }

 

petinfo - petnametable:

    [jobtbl.JT_CHARMANDER] = "CHARMANDER",
    [jobtbl.JT_CHARMELEON] = "CHARMELEON",
    [jobtbl.JT_CHARIZARD] = "CHARIZARD",

 

petinfo - petstringtable:

    [jobtbl.JT_CHARMANDER] = "Charmander",
    [jobtbl.JT_CHARMELEON] = "Charmeleon",
    [jobtbl.JT_CHARIZARD] = "Charizard",

petinfo - PetEggItemID_PetJobID:

    [75000] = jobtbl.JT_CHARMANDER,
    [75001] = jobtbl.JT_CHARMELEON,
    [75002] = jobtbl.JT_CHARIZARD,

petinfo - PetFoodTable:

    [jobtbl.JT_CHARMANDER] = 7098,
    [jobtbl.JT_CHARMELEON] = 7096,
    [jobtbl.JT_CHARIZARD] = 7097,

petevolutioncln_true:

  InsertEvolutionRecipeLGU(75000, 75001, 610, 10)
  InsertEvolutionRecipeLGU(75000, 75001, 619, 3)
  InsertPetAutoFeeding(75001)
  InsertEvolutionRecipeLGU(75001, 75002, 610, 10)
  InsertEvolutionRecipeLGU(75001, 75002, 619, 3)
  InsertPetAutoFeeding(75002)

 

However, the evolution option still not showing. How can I fix this?

Edited by ran0120
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  25
  • Reputation:   1
  • Joined:  06/11/23
  • Last Seen:  

Is the evolutions feature already on?

conf/battle/feature.con

// Pet evolution (Note 1)
// Requires: 2014-10-08aRagexe or later
feature.petevolution: on

and what is the error message on the client side?

Link to comment
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
Answer this question...

×   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.

×
×
  • Create New...