Permalink
1 comment
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
with
721 additions
and 295 deletions.
- +0 −7 conf/battle/skill.conf
- +171 −6 db/pre-re/skill_db.txt
- +171 −6 db/re/skill_db.txt
- +246 −0 db/skill_copyable_db.txt
- +0 −204 db/skill_reproduce_db.txt
- +2 −3 src/map/battle.c
- +0 −1 src/map/battle.h
- +8 −8 src/map/pc.c
- +107 −60 src/map/skill.c
- +16 −0 src/map/skill.h
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -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 |
Oops, something went wrong.
5e6626eThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*Preseve, I mean Preserve