diff options
author | HoraK-FDF <horak-fdf@web.de> | 2022-12-22 22:31:28 +0000 |
---|---|---|
committer | Jesusalva Jesusalva <jesusalva@themanaworld.org> | 2022-12-22 22:31:28 +0000 |
commit | a06ca23965dbbf21b261ec8a98ddc45cecd50f2d (patch) | |
tree | eb7499723d109575b21358d0911c21f6e638026b /world/map/db/const.txt | |
parent | 4605febfed506747dc75ea814c18d9d8b31f1feb (diff) | |
download | serverdata-a06ca23965dbbf21b261ec8a98ddc45cecd50f2d.tar.gz serverdata-a06ca23965dbbf21b261ec8a98ddc45cecd50f2d.tar.bz2 serverdata-a06ca23965dbbf21b261ec8a98ddc45cecd50f2d.tar.xz serverdata-a06ca23965dbbf21b261ec8a98ddc45cecd50f2d.zip |
item bonus
Diffstat (limited to 'world/map/db/const.txt')
-rw-r--r-- | world/map/db/const.txt | 204 |
1 files changed, 77 insertions, 127 deletions
diff --git a/world/map/db/const.txt b/world/map/db/const.txt index aed1ea75..e345841f 100644 --- a/world/map/db/const.txt +++ b/world/map/db/const.txt @@ -1,27 +1,4 @@ // Constants usable in scripts. -// TODO remove all the bSomething and move them to params instead - -bMaxHP 6 -bMaxSP 8 -bStr 13 -bAgi 14 -bVit 15 -bInt 16 -bDex 17 -bLuk 18 -//bAtk 41 -//bAtk2 42 -bMatk1 43 -//bMatk2 44 -//bDef 45 -bMdef 47 -//bMdef2 48 -bHit 49 -bFlee 50 -//bFlee2 51 -bCritical 52 -//bAspd 53 -bDeaf 70 // Elements: // 0 = Neutral @@ -66,84 +43,6 @@ bDeaf 70 // n = 2 -> 5x5 cell // ... -// Those which can be used with the arrow are only bCritical, bAtkEle, bHit, bAddEle, bAddRace, bAddSize and bAddEff. The other bonuses are ignored. -// For more information, have a look here: http://code.google.com/p/eathena/source/browse/trunk/doc/item_bonus.txt - -bAtkRange 1000 // A range bonus of n (bAtkRange,n;). -//bAtkEle 1001 // Gives the player's attacks a n element (bAtkEle,n;). -//bDefEle 1002 // Gives the player's defense a n element (bDefEle,n;). -//bCastrate 1003 // Adjusts casting time of skill n by x% (bCastrate,n,x;). -bMaxHPrate 1004 // A max HP bonus of n (bMaxHPrate,n;). -//bMaxSPrate 1005 // A max SP bonus of n (bMaxSPrate,n;). -//bUseSPrate 1006 // Increases the consumption of SP by n% (bUseSPrate,n;). -//bAddEle 1007 // +x% physical damage against a n element (bAddEle,n,x;). -//bAddRace 1008 // +x% physical damage against a n race (bAddRace,n,x;). -//bAddSize 1009 // +x% physical damage against a n size (bAddSize,n,x;). -//bSubEle 1010 // +x% damage reduction against a n element (bSubEle,n,x;). -//bSubRace 1011 // +x% damage reduction against race n (bSubRace,n,x;). -//bAddEff 1012 // Adds a 1/100x% chance to cause effect e to the target when attacking (bAddEff,e,x;). -//bResEff 1013 // Adds a 1/100x% tolerance to an effect (bResEff,e,x;). -//bBaseAtk 1014 // A n bonus to the basic attack power (bBaseAtk,n;). -bAspdRate 1015 // +n% attack speed (bAspdRate,n;). -bHPrecovRate 1016 // Natural HP recovery ratio increased of n% (bHPrecovRate,n;). -//bSPrecovRate 1017 // Natural SP recovery ratio increased of n% (bSPrecovRate,n;). -//bSpeedRate 1018 // Moving speed increased of n% and only the highest among all is applied (bSpeedRate,n;). -bCriticalDef 1019 // Decreases the chance of being hit by critical hits of n% (bCriticalDef,n;). -//bNearAtkDef 1020 // Adds n% damage reduction against melee physical attacks (bNearAtkDef,n;). -//bLongAtkDef 1021 // Adds n% damage reduction against ranged physical attacks (bLongAtkDef,n;). -//bDoubleRate 1022 // Adds a n% probability of doing a double attack (bDoubleRate,n;). -bDoubleAddRate 1023 // Adds another +n% probability of doing a double attack (bDoubleAddRate,n;). -//bMatk 1024 // Adds a magical attack bonus of n (bMatk,n;). -//bMatkRate 1025 // Adds a magical attack bonus percentage n% (bMatkRate,n;). -//bIgnoreDefEle 1026 // Disregards defense against enemies of a n element (bIgnoreDefEle,n;). -//bIgnoreDefRace 1027 // Disregards defense against enemies of a n race (bIgnoreDefRace,n;). -//bAtkRate 1028 // Adds an attack bonus of n% (bAtkRate,n;). -bSpeedAddRate 1029 // Adds a n% of walking speed (bSpeedAddRate,n;). -//bAspdAddRate 1030 // Adds a n% of attack speed (bAspdAddRate,n;). -//bMagicAtkDef 1031 // Adds a n% damage reduction against magical attacks (bMagicAtkDef,n;). -//bMiscAtkDef 1032 // Adds a n% damage reduction against miscellaneous attacks (traps, falcon, ...) (bMiscAtkDef,n;). -//bIgnoreMdefEle 1033 // Disregards magical defense against enemies of a n element (bIgnoreMdefEle,n;). -//bIgnoreMdefRace 1034 // Disregards magical defense against enemies of a n race (bIgnoreMdefRace,n;). -//bMagicAddEle 1035 // Adds x% of magical damage against a n element (bMagicAddEle,n,x;). -//bMagicAddRace 1036 // Adds x% of magical damage against a n race (bMagicAddRace,n,x;). -//bMagicSubRace 1037 // Removes a x% of magical damage against a n race (bMagicSubRace,n,x;). -//bPerfectHitRate 1038 // On-target impact attack probability n% and only the highest among all is applied (bPerfectHitRate,n;). -//bPerfectHitAddRate 1039 // A n% bonus of an on-target impact (bPerfectHitAddRate,n;). -//bCriticalRate 1040 // Add a n% to the critical hits percentage (bCriticalRate,n;). -//bGetZenyNum 1041 // When killing a monster, there is a x% chance of gaining about n zeny (bGetZenyNum,n;). -//bAddGetZenyNum 1042 // Same as bGetZenyNum, but the rates and zeny to gain stack (bAddGetZenyNum,n,x;). -//bAddDamageClass 1043 // +x% of extra physical damage against monsters of class n, against players n is their job id (bAddDamageClass,n,x;). -//bAddMagicDamageClass 1044 // +x% of extra magical damage against monsters of class n, against players n is their job id (bAddDamageClass,n,x;). -//bAddDefClass 1045 // +x% physical damage reduction against monsters of class n, against players n is their job id (bAddDefClass,n,x;) -//bAddMdefClass 1046 // +x% magical damage reduction against monsters of class n, against players n is their job id (bAddDefClass,n,x;) -//bAddMonsterDropItem 1047 // Adds a x/100% chance for a n item to be dropped, when killing any monster (bAddMonsterDropItem,n,x;) -//bDefRatioAtkEle 1048 // Does more damage depending on the monster's defense against a n element (bDefRatioAtkEle,n;). -//bDefRatioAtkRace 1049 // Does more damage depending on the monster's defense against a n race (bDefRatioAtkRace,n;). -//bAddSpeed 1050 // Adds a n speed to the player (bAddSpeed,n;). -//bHitRate 1051 // Adds a n% rate to hit (bHitRate,n;). -//bFleeRate 1052 // Adds a n% to flee a monster's attack (bFleeRate,n;). -//bFlee2Rate 1053 // Adds a n% to dodge a monster's attack (bFleeRate,n;). -bDefRate 1054 // Adds a n% of defense to the equipment (bDefRate,n;). -bDef2Rate 1055 // Adds a n% of defense based on the vitality to the equipment (bDef2Rate,n;). -//bMdefRate 1056 // Adds a n% of magical defense to the equipment (bMdefRate,n;). -//bMdef2Rate 1057 // Adds a n% of magical defense based on the vitality to the equipment (bMdef2Rate,n;). -//bSplashRange 1058 // Adds n to the splash attack radius and only the highest among all is applied (bSplashRange,n;). -//bSplashAddRange 1059 // Adds n to the splash attack radius (bSplashRange,n;). -//bAutoSpell 1060 // Auto Spell casting on attack of spell n at level x with a y/10% chance (bAutoSpell,n,x,y;). -bHPDrainRate 1061 // Adds a n/10% chance to receive x% of dealed damage as HP from a monster of race r with normal attack (bHPDrainRateRace,r,n,x;). -//bSPDrainRate 1062 // Adds a n/10% chance to receive x% of dealed damage as SP from a monster of race r with normal attack (bSPDrainRateRace,r,n,x;). -//bShortWeaponDamageReturn 1063 // Reflects n% of received melee damage back to the enemy that caused it (bShortWeaponDamageReturn,n;). -//bLongWeaponDamageReturn 1064 // Reflects n% of received ranged damage back to the enemy that caused it (bShortWeaponDamageReturn,n;). -//bWeaponComaEle 1065 // Adds a n/100% chance to cause coma when attacking a monster of a x element with a normal attack (bWeaponComaEle,x,n;). -//bWeaponComaRace 1066 // Adds a n/100% chance to cause coma when attacking a monster of a x race with a normal attack (bWeaponComaEle,x,n;). -//bAddEff2 1067 // Adds a n/100% chance to cause status change x on self when attacking (bAddEff2,x,n;). -//bMagicDamageReturn 1068 // Adds a n% chance to reflect targetted magic spells back to the enemy that caused it (bMagicDamageReturn,n;). -//bRandomAttackIncrease 1069 // Adds a n% chance to inflict x% additional damage to the enemy with normal attack (bRandomAttackIncrease,x,n;). -//bAllStats 1070 // Adds a n number in Strengh, Agility, Vitality, Intelligence, Dexterity and Luck (bAllStats,n;). -//bAgiVit 1071 // Adds a n number in Agility and Vitality (bAgiVit,n;). -//bAgiDexStr 1072 // Adds a n number in Agility, Dexterity and Strengh (bAgiDexStr,n;). -//bPerfectHide 1073 // A hidden character is no longer detected by monsters with 'detector' mode (bPerfectHide,1;). - equip_head 1 equip_shield 2 equip_hand2 3 @@ -172,6 +71,13 @@ LOOK_CAPE 11 LOOK_MISC1 12 LOOK_MISC2 13 +// Launcher/Ammo Types +AMMO_NONE 0 +AMMO_BOW 1 +AMMO_SLING 2 +AMMO_WAND 3 +AMMO_XMAS 4 + // Hairstyles HS_Bald 0 HS_BaldTwo 1 @@ -524,33 +430,77 @@ MD_CANATTACK 128 //MD_RANDOMTARGET 65536 // Mobinfo Constants -MOB_ID 0 -MOB_NAME 2 -MOB_LV 3 -MOB_MAXHP 4 -MOB_BASEEXP 6 -MOB_JOBEXP 7 -MOB_ATK1 9 -MOB_ATK2 10 -MOB_DEF 11 -MOB_MDEF 12 -MOB_STR 13 -MOB_AGI 14 -MOB_VIT 15 -MOB_INT 16 -MOB_DEX 17 -MOB_LUK 18 -MOB_RANGE 8 -MOB_RANGE2 19 -MOB_RANGE3 20 -MOB_SIZE 21 -MOB_RACE 22 -MOB_ELEMENT 23 -MOB_MODE 25 +MOB_ID 0 +MOB_NAME 2 +MOB_LV 3 +MOB_MAXHP 4 +MOB_BASEEXP 6 +MOB_JOBEXP 7 +MOB_ATK1 9 +MOB_ATK2 10 +MOB_DEF 11 +MOB_MDEF 12 +MOB_STR 14 +MOB_AGI 15 +MOB_VIT 16 +MOB_INT 17 +MOB_DEX 18 +MOB_LUK 19 +MOB_RANGE 8 +MOB_RANGE2 20 +MOB_RANGE3 21 +MOB_SIZE 22 +MOB_RACE 23 +MOB_ELEMENT 24 +MOB_MODE 26 // TMWA custom -MOB_MAXSP 5 -MOB_ELEMENT_LVL 24 -MOB_SPEED 26 +MOB_ENG_NAME 1 +MOB_JAP_NAME 2 +MOB_MAXSP 5 +MOB_CRITICAL_DEF 13 +MOB_ELEMENT_LVL 25 +MOB_SPEED 27 +MOB_ADELAY 28 +MOB_AMOTION 29 +MOB_DMOTION 30 +MOB_MUTATION_NUM 31 +MOB_MUTATION_POWER 32 +MOB_DROPID0 33 +MOB_DROPNAME0 34 +MOB_DROPPERCENT0 35 +MOB_DROPID1 36 +MOB_DROPNAME1 37 +MOB_DROPPERCENT1 38 +MOB_DROPID2 39 +MOB_DROPNAME2 40 +MOB_DROPPERCENT2 41 +MOB_DROPID3 42 +MOB_DROPNAME3 43 +MOB_DROPPERCENT3 44 +MOB_DROPID4 45 +MOB_DROPNAME4 46 +MOB_DROPPERCENT4 47 +MOB_DROPID5 48 +MOB_DROPNAME5 49 +MOB_DROPPERCENT5 50 +MOB_DROPID6 51 +MOB_DROPNAME6 52 +MOB_DROPPERCENT6 53 +MOB_DROPID7 54 +MOB_DROPNAME7 55 +MOB_DROPPERCENT7 56 +MOB_DROPID8 57 +MOB_DROPNAME8 58 +MOB_DROPPERCENT8 59 +MOB_DROPID9 60 +MOB_DROPNAME9 61 +MOB_DROPPERCENT9 62 + +MOB_DROPARRAYS_IDS 0 +MOB_DROPARRAYS_NAMES 1 +MOB_DROPARRAYS_PERCENTS 2 + +MOB_MAXDROPS 10 // API Export Protocols API_VAULT 607 |