From ea24f8edd68edb71cb1ea2cee08979667e4f92e6 Mon Sep 17 00:00:00 2001 From: Kenpachi Developer Date: Mon, 9 Mar 2020 17:19:57 +0100 Subject: Add pet_catch_rate_official_formula battle flag --- conf/map/battle/pet.conf | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'conf/map') diff --git a/conf/map/battle/pet.conf b/conf/map/battle/pet.conf index ed784d49c..5797bb2a5 100644 --- a/conf/map/battle/pet.conf +++ b/conf/map/battle/pet.conf @@ -32,6 +32,14 @@ // assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary) //========================================================================= +// Use the offical formula to calculate the pet catch rate? (Note 1) +// Official formula: +// CatchRate = CaptureRate * (100 - 100 * MonsterHP / MonsterMaxHP) / 100 + CaptureRate +// Custum *Athena formula: +// CatchRate = (CaptureRate + (CharacterBaseLevel - MonsterLevel) * 30 + CharacterLuk * 20) * (200 - 100 * MonsterHP / MonsterMaxHP) / 100 +// (CaptureRate is defined in db/(pre-)re/pet_db.conf.) +pet_catch_rate_official_formula: true + // Rate for catching pets (Note 2) pet_catch_rate: 100 -- cgit v1.2.3-60-g2f50