Card Editing - Albiot1/PVZ-Heroes-Modding-Page GitHub Wiki

Default Values


[NAME OF VALUE, WHAT IT DOES]

    • Values possible


  • prefabName - Manages what animation/card icon to use

  • baseId - Manages what type of card it is
    • Base - Plant
    • BasePlantEnvironment - Plant Environment
    • BasePlantOneTimeEffect - Plant Tricks
    • BaseZombie - Zombie
    • BaseZombieEnvironment - Zombie Environment
    • BaseZombieOneTimeEffect - Zombie Tricks

  • color - Card type
    • Hungry - Real name : Bestly
    • Brainy
    • Crazy - Real name : Madcap
    • Hearty
    • Sneaky
    • Guardian
    • Kabloom
    • MegaGro - Real name : Mega-Grow
    • Smarty
    • Solar

  • set - Card frame type
    • Silver
    • Gold
    • Event
    • Hero
    • Superpower
    • Set2
    • Set3
    • Set4

  • rarity - Just a rarity number

  • setAndRarityKey - Rarity name that display at the bottom when viewing a card
    • Dawn_Common
    • Bloom_Common
    • Bloom_Rare
    • Bloom_SuperRare
    • Bloom_Legendary
    • Colossal_Uncommon
    • Colossal_Rare
    • Colossal_SuperRare
    • Colossal_Legendary
    • Galaxy_Common
    • Galaxy_Rare
    • Galaxy_SuperRare
    • Galaxy_Legendary
    • Triassic_Uncommon
    • Triassic_Rare
    • Triassic_SuperRare
    • Triassic_Legendary
    • Premium_Event
    • Token
    • Superpower_SuperRare

  • craftingBuy - How much crafting costs

  • craftingSell - How much you get for selling card

  • displayHealth - WARNING ITS ONLY HEALTH VALUE THAT'S DISPLAYED ON CARD ICON

  • displayAttack - WARNING ITS ONLY ATTACK VALUE THAT'S DISPLAYED ON CARD ICON

  • displaySunCost - WARNING ITS ONLY SUN VALU THAT'S DISPLAYED ON CARD ICON

  • faction - Card faction "Plants" or "Zombies"

  • ignoreDeckLimit - When i was checking it than there was no diffrences between true and false

  • isPower - should be true when its a trick

  • isPrimaryPower - should be set to true when its hero's default trick

  • isFighter - should be set to true when its fighting card

  • isEnv - should be set to true when its environment

  • isAquatic - should be set to true when its card playable on water

  • isTeamup - should be set to true when you can play this plant with other on the same lane

    YOU WOULD STILL NEED TO CHANGE SOME OTHER CODE TO MAKE MOST OF IT WORK BECAUSE THIS IS MOSTLY JUST DIPLAYED CARD INFO

  • subtypes - Used to for example draw card with only "Pirate" subtype

  • tags - Used to for example buff only zombie with "piratezombie" tag by checking them

  • special_abilities - Special abilities should be listed there
    • Untrickable
    • Overshoot
    • AttackOverride
    • Deadly
    • Strikethrough
    • Repeater
    • Truestrike (Bullseye)
    • Ambush (Anti-hero)
    • Frenzy
    • Armor
    • Unique

** FOR AI **

  • subtype_affinities
  • subtype_affinity_weights
  • tag_affinities
  • tag_affinity_weights
  • card_affinities
  • card_affinity_weights

Needed [components]

{
"$type":"PvZCards.Engine.Components.Card, EngineLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
"$data":{ "Guid":1 } //card id
}
{
"$type":"PvZCards.Engine.Components.Attack, EngineLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
"$data":{ "AttackValue":{ "BaseValue":1 } } //card attack
}
{
"$type":"PvZCards.Engine.Components.Health, EngineLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
     "$data":{ "MaxHealth":{ "BaseValue":1 }, //card health
     "CurrentDamage":0 //how much health card already lost
      } 
}
{
"$type":"PvZCards.Engine.Components.SunCost, EngineLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
     "$data":{ "SunCostValue":{ "BaseValue":1 } } //sun cost of card
}
//replace FACTION with Plants or Zombies
{
"$type":"PvZCards.Engine.Components.\\FACTION//, EngineLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
     "$data":{}
}
{
"$type":"PvZCards.Engine.Components.Rarity, EngineLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
     "$data":{ "Value":"R0" } //possible rarities R0,R1,R2,R3,R4,EVENT
}
{
"$type":"PvZCards.Engine.Components.Subtypes, EngineLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
     "$data":{ "subtypes":0 }
}
{
"$type":"PvZCards.Engine.Components.Tags, EngineLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
     "$data":{ "tags":"bad" }
}

Card Subtypes

  • Mime
  • Pirate
  • Barrel
  • Flytrap
  • Dragon
  • Banana
  • Moss
  • Corn
  • Pinecone
  • Seed
  • Cactus
  • Tree
  • Clock
  • Science
  • History
  • Root
  • Flower
  • Party
  • Gargantuar
  • Pet
  • Imp
  • Mushroom
  • Leafy
  • Berry
  • Monster
  • Mustache
  • Peashooter
  • Nut
  • Bean
  • Squash
  • Sports
  • Gourmet
  • Dancing
  • Proffesional
  • Animal
  • Fruit

Card Tags

  • set4
  • gargantuar
  • randomzombiefighter
  • caresaboutenvironment
  • anyaquaticplantcard
  • trickortreat
  • leftovers
  • plantevent
  • not pine clone
  • galaxyzombie
  • environment
  • galaxyplant
  • goat
  • meow
  • yetilunchbox
  • zombieevent
  • deadbeard
  • weeniebean
  • set3plant
  • invisibility
  • vimpire
  • saboteur
  • knightofthelivingdead
  • notplankwalker
  • piratezombie
  • tricks
  • set3zombie
  • brains
  • splash
  • freeze
  • trick
  • narrow
  • pineclone
  • sun
  • potatomine
  • plantlegend
  • truestrike
  • teamup
  • poison
  • zombielegend
  • randomzombietrick
  • madebygardener
  • plantfighter6orless
  • bad
  • cheats
  • draw
  • madebyzucchini
  • heal
  • needsfighter
  • attack
  • buff
  • basicpeashooter
  • mayflower
  • fatty
  • defense
  • gravestone
  • can be gravestone
  • 2costzombie
  • rush
  • can be transmorgified
  • randomzombie
  • weenie
  • aquatic
⚠️ **GitHub.com Fallback** ⚠️