Skip to content
Permalink
Browse files
Plagiarism & Reproduce updates:
-- Fixed bugreport:6994, Preseve only prevent to copy skill via Plagiarism, player still able to copy skill by Reproduce
-- Re-structure db/skill_reproduce_db.txt becomes db/skill_copyable_db.txt that allow you customize the avaiable skill to be copied
-- Removed 'copyskill_restrict' config from conf/battle/skill.conf, this setting can be set on db/skill_reproduce_db.txt
-- Enjoy structure of skill_copyable_db.txt! SkillName,Option{,JobAllowed{,RequirementRemoved}}
  • Loading branch information
cydh committed Sep 23, 2013
1 parent 908d05b commit 5e6626e3129e01954d6d00a88b936815f4b11ebb
Showing with 721 additions and 295 deletions.
  1. +0 −7 conf/battle/skill.conf
  2. +171 −6 db/pre-re/skill_db.txt
  3. +171 −6 db/re/skill_db.txt
  4. +246 −0 db/skill_copyable_db.txt
  5. +0 −204 db/skill_reproduce_db.txt
  6. +2 −3 src/map/battle.c
  7. +0 −1 src/map/battle.h
  8. +8 −8 src/map/pc.c
  9. +107 −60 src/map/skill.c
  10. +16 −0 src/map/skill.h
@@ -197,13 +197,6 @@ backstab_bow_penalty: yes
// Use 0 to disable (max allowed value is 255)
skill_steal_max_tries: 0

// Can Rogues plagiarize advanced job skills
// 0 = no restriction
// 1 = only stalker may plagiarize advanced skills
// 2 = advanced skills cannot be plagiarized by anyone
// Official servers setting: 2
copyskill_restrict: 2

// Does Berserk/Frenzy cancel other self-buffs when used?
berserk_cancels_buffs: no

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -0,0 +1,246 @@
// Available Skills for Intimidate/Plagiarism or Reproduce
// ====================================================
// http://irowiki.org/wiki/Intimidate
// -> "Intimidate will copy any 2nd class skill"
// http://irowiki.org/wiki/Reproduce/List_of_reproducible_skills
// -> "Players can reproduce 1-x, 2-x, and 3-x skills and Expanded Class, but cannot
// reproduce transcendent skills"
// ====================================================
// Structure of Database:
// SkillName,Option{,JobAllowed{,RequirementRemoved}}
// ====================================================
// Option is using bitmask of skill that can be copied by:
// 1 = Plagiarism
// 2 = Reproduce
// JobAllowed, the skill only can be copied by:
// (0 or the default value makes all jobs can copy the skill)
// 1 = Rogue
// 2 = Stalker
// 4 = Shadow Chaser
// 8 = Trans. Shadow Chaser
// 16 = Baby Rouge
// 32 = Baby Shadow Chaser
// RequirementRemoved, decide which requirement(s) that will be removed while checking.
// 0 = makes the requirement(s) same like original requirement(s)
// 1 = hp
// 2 = maxhptrigger
// 4 = sp
// 8 = hprate
// 16 = sprate
// 32 = zeny
// 64 = weapon type
// 128 = ammo (with the amount)
// 256 = state
// 512 = statuses
// 1024 = spirit sphere
// 2048 = items (with the amount)
// (see 'skill_require_db.txt' for requirement(s) detail)
// ====================================================
// Example of advanced usage:
//AS_SONICBLOW,2,63,64
// AS_SONICBLOW can be copied by all jobs by only Plagiarism. To use the copied skill,
// doesn't need to use katar weapon (Sonic Blow weapon type requirement)
//
//CR_ACIDDEMONSTRATION,3,10
// CR_ACIDDEMONSTRATION only can be copied by Stalker/Trans. Shadow Chaser by Plagiarism
// or Reproduce.
// This mode just like previous battle config which there was option only allow Trans.
// Skills only can be copied by Trans. class (Stalker/Trans. Shadow Chaser).
// ====================================================

//Swordsman
SM_BASH,3 //Bash
SM_MAGNUM,3 //Magnum Break

//Mage
MG_NAPALMBEAT,3 // Napalm Beat
MG_SOULSTRIKE,3 // Soul Strike
MG_COLDBOLT,3 // Cold Bolt
MG_FROSTDIVER,3 // Frost Diver
MG_FIREBALL,3 // Fire Ball
MG_FIREWALL,3 // Fire Wall
MG_FIREBOLT,3 // Fire Bolt
MG_LIGHTNINGBOLT,3 // Lightning Bolt
MG_THUNDERSTORM,3 // Thunderstorm

//Acolyte
AL_RUWACH,3 // Ruwach
AL_HEAL,3 // Heal

//Merchant
MC_MAMMONITE,3 // Mammonite

//Archer
AC_DOUBLE,3 // Double Strafe
AC_SHOWER,3 // Arrow Shower

//Thief
TF_POISON,3 // Envenom

// Resurrection
ALL_RESURRECTION,3 // Resurrection

// Knight
KN_BOWLINGBASH,3 // Bowling Bash

// Priest
PR_ASPERSIO,3 // Asperio
PR_BENEDICTIO,3 // B.S Sacramenti
PR_SANCTUARY,3 // Sanctuary
PR_TURNUNDEAD,3 // Turn Undead
PR_MAGNUS,3 // Magnus Exorcismus

// Wizard
WZ_FIREPILLAR,3 // Fire Pillar
WZ_SIGHTRASHER,3 // Sightrasher
WZ_METEOR,3 // Meteor Storm
WZ_JUPITEL,3 // Jupitel Thunder
WZ_VERMILION,3 // Lord of Vermillion
WZ_WATERBALL,3 // Water Ball
WZ_FROSTNOVA,3 // Frost Nova
WZ_STORMGUST,3 // Storm Gust
WZ_EARTHSPIKE,3 // Earth Spike
WZ_HEAVENDRIVE,3 // Heaven's Drive

// Hunter
HT_LANDMINE,3 // Land Mine
HT_FREEZINGTRAP,3 // Freezing Trap
HT_BLASTMINE,3 // Blast Mine
HT_CLAYMORETRAP,3 // Claymore Trap

// Assassin
AS_SPLASHER,3 // Venom Splasher

// 1st Job Quest Skills
AC_CHARGEARROW,3 // Arrow Repel
TF_THROWSTONE,3 // Stone Fling
AL_HOLYLIGHT,3 // Holy Light

// Rogue
RG_BACKSTAP,3 // Backstab

// Alchemist
AM_DEMONSTRATION,3 // Bomb
AM_ACIDTERROR,3 // Acid Terror

// Crusader
CR_SHIELDCHARGE,3 // Smite
CR_SHIELDBOOMERANG,3 // Shield Boomerang
CR_HOLYCROSS,3 // Holy Cross
CR_GRANDCROSS,3 // Grand Cross

// Monk
MO_TRIPLEATTACK,3 // Raging Trifecta Blow
MO_INVESTIGATE,3 // Occult Impaction
MO_FINGEROFFENSIVE,3 // Throw Spirit Sphere
MO_EXTREMITYFIST,3 // Asura Strike
MO_CHAINCOMBO,3 // Raging Quadruple Blow

// Item Skill
ITM_TOMAHAWK,3 // Throw Tomahawk

// TaeKwon Kid
TK_JUMPKICK,3 // Flying Kick

// Ninja
NJ_ZENYNAGE,3 // Throw Zeny
NJ_TATAMIGAESHI,3 // Flip Tatami
NJ_KASUMIKIRI,3 // Haze Slasher
NJ_SHADOWJUMP,3 // Shadow Slash
NJ_UTSUSEMI,3 // Blaze Shield
NJ_KOUENKA,3 // Flaming Petals
NJ_BAKUENRYU,3 // Exploding Dragon
NJ_HYOUSENSOU,3 // Freezing Spear
NJ_HYOUSYOURAKU,3 // Snow Flake Draft
NJ_HUUJIN,3 // Wind Blade
NJ_RAIGEKISAI,3 // Lightning Jolt
NJ_KAMAITACHI,3 // First Wind

// 2nd Job Quest Skills
KN_CHARGEATK,3 // Charge Attack
AS_VENOMKNIFE,3 // Venom Knife
WZ_SIGHTBLASTER,3 // Sight Blaster
HT_PHANTASMIC,3 // Phantasmic Arrow
MO_KITRANSLATION,3 // Excruciating Palm

// Rune Knight
RK_SONICWAVE,2 // Sonic Wave
RK_WINDCUTTER,2 // Ignition Break
RK_IGNITIONBREAK,2 // Wind Cutter

// Guillotine Cross
GC_CROSSIMPACT,2 // Cross Impact
GC_DARKILLUSION,2 // Dark Illusion
GC_PHANTOMMENACE,2 // Phantom Menace

// Arch Bishop
AB_JUDEX,2 // Judex
AB_ADORAMUS,2 // Adoramus
AB_HIGHNESSHEAL,2 // Highness Heal
AB_DUPLELIGHT,2 // Duple Light

// Warlock
WL_SOULEXPANSION,2 // Soul Expansion
WL_FROSTMISTY,2 // Frosty Misty
WL_JACKFROST,2 // Jack Frost
WL_DRAINLIFE,2 // Drain Life
WL_CRIMSONROCK,2 // Crimson Rock
WL_HELLINFERNO,2 // Hell Inferno
WL_COMET,2 // Comet
WL_CHAINLIGHTNING,2 // Chain Lightning
WL_EARTHSTRAIN,2 // Earth Strain

// Ranger
RA_ARROWSTORM,2 // Arrow Storm
RA_AIMEDBOLT,2 // Aimed Bolt
RA_CLUSTERBOMB,2 // Cluster Bomb
RA_FIRINGTRAP,2 // Firing Trap
RA_ICEBOUNDTRAP,2 // Icebound Trap

// Shadow Chaser
SC_FATALMENACE,2 // Fatal Menace
SC_TRIANGLESHOT,2 // Triangle Shot
SC_FEINTBOMB,2 // Feint Bomb

// Royal Guard
LG_SHIELDPRESS,2 // Shield Press
LG_SHIELDSPELL,2 // Shield Spell
LG_EXEEDBREAK,2 // Exceed Break
LG_MOONSLASHER,2 // Moon Slasher
LG_EARTHDRIVE,2 // Earth Drive

// Sura
SR_DRAGONCOMBO,2 // Dragon Combo
SR_SKYNETBLOW,2 // Sky Net Blow
SR_EARTHSHAKER,2 // Earth Shaker
SR_TIGERCANNON,2 // Tiger Cannon
SR_RAMPAGEBLASTER,2 // Rampage Blaster
SR_KNUCKLEARROW,2 // Knuckle Arrow
SR_WINDMILL,2 // Windmill
SR_GATEOFHELL,2 // Gate of Hell
SR_GENTLETOUCH_QUIET,2 // Gentle Touch - Quiet
SR_HOWLINGOFLION,2 // Howling of Lion
SR_RIDEINLIGHTNING,2 // Riding Lightning

// Minstrel/Wanderer
WM_METALICSOUND,2 // Metallic Sound
WM_REVERBERATION,2 // Reverberation
WM_SEVERE_RAINSTORM,2 // Severe Rainstorm

// Sorcerer
SO_FIREWALK,2 // Fire Walk
SO_ELECTRICWALK,2 // Electric Walk
SO_EARTHGRAVE,2 // Earth Grave
SO_DIAMONDDUST,2 // Diamond Dust
SO_POISON_BUSTER,2 // Poison Buster
SO_PSYCHIC_WAVE,2 // Psychic Wave
SO_CLOUD_KILL,2 // Cloud Kill
SO_VARETYR_SPEAR,2 // Varetyr Spear

// Genetic
GN_THORNS_TRAP,2 // Thorn Trap
GN_BLOOD_SUCKER,2 // Blood Sucker
GN_SPORE_EXPLOSION,2 // Spore Explosion
GN_WALLOFTHORN,2 // Wall of Thorns
GN_CRAZYWEED,2 // Crazy Weed
GN_HELLS_PLANT,2 // Hell's Plant

1 comment on commit 5e6626e

@cydh
Copy link
Contributor Author

@cydh cydh commented on 5e6626e Sep 23, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*Preseve, I mean Preserve

Please sign in to comment.