- Fixed skill name for skill 39 (MC_PUSHCART)
- Corrected some formatting in a few entries in skill_db (TODO: if you really want to format the file to have file names aligned, spaces should be used instead of tabs, like it was done for GD/HLIF skills!) - Corrected placement of leveled up mobs bonus exp - Fixed a possible crash when parsing MSC_MASTERATTACKED mob skills. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11949 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
f32a0b4355
commit
a6875211ef
@ -80,7 +80,7 @@
|
||||
36,0,0,0,0,0,0,10,0,no,0,0,0,none,0, MC_INCCARRY,Enlarge Weight Limit
|
||||
37,0,0,0,0,0,0,10,0,no,0,0,0,none,0, MC_DISCOUNT,Discount
|
||||
38,0,0,0,0,0,0,10,0,no,0,0,0,none,0, MC_OVERCHARGE,Overcharge
|
||||
39,1,0,0,0,0,0,10,0,no,0,0,0,none,0, MC_VENDING,Pushcart
|
||||
39,1,0,0,0,0,0,10,0,no,0,0,0,none,0, MC_PUSHCART,Pushcart
|
||||
40,1,6,4,0,0x1,0,1,1,no,0,0,0,none,0, MC_IDENTIFY,Item Appraisal
|
||||
41,1,6,4,0,0x1,0,10,1,no,0,0,0,none,0, MC_VENDING,Vending
|
||||
42,-1,6,1,-1,0,0,10,1,no,0,0,0,weapon,0, MC_MAMMONITE,Mammonite
|
||||
@ -639,7 +639,7 @@
|
||||
1018,9,6,1,3,0x1,0,1,1,yes,0,0x1,0,magic,0, SA_ELEMENTFIRE,Elemental Change Fire
|
||||
1019,9,6,1,4,0x1,0,1,1,yes,0,0x1,0,magic,0, SA_ELEMENTWIND,Elemental Change Wind
|
||||
|
||||
8001,9,6,4,0,0x1,0,5,1,no,0,0,0,magic,0 ,HLIF_HEAL,Healing Touch
|
||||
8001,9,6,4,0,0x1,0,5,1,no,0,0,0,magic,0, HLIF_HEALHealing Touch
|
||||
8002,0,6,4,0,0x3,-1,5,1,no,0,0,0,none,0, HLIF_AVOID,Avoid
|
||||
8003,0,0,0,0,0,1,5,0,no,0,0,0,none,0, HLIF_BRAIN,Brain Surgery
|
||||
8004,0,6,4,0,0x1,0,3,0,no,0,0,0,none,0, HLIF_CHANGE,Change
|
||||
@ -658,12 +658,12 @@
|
||||
|
||||
10000,0,0,0,0,0,0,1,0,no,0,0x10,0,none,0, GD_APPROVAL,Official Guild Approval
|
||||
10001,0,0,0,0,0,0,1,0,no,0,0x10,0,none,0, GD_KAFRACONTRACT,Kafra Contract
|
||||
10002,0,0,0,0,0,0,1,0,no,0,0x10,0,none,0 ,GD_GUARDRESEARCH,Guardian Research
|
||||
10002,0,0,0,0,0,0,1,0,no,0,0x10,0,none,0, GD_GUARDRESEARCHGuardian Research
|
||||
10003,0,0,0,0,0,0,1,0,no,0,0x10,0,none,0, GD_GUARDUP,Strengthen Guardians
|
||||
10004,0,0,0,0,0,0,10,0,no,0,0x10,0,none,0 ,GD_EXTENSION,Guild Extension
|
||||
10005,0,0,0,0,0,0,1,0,no,0,0x10,0,none,0 ,GD_GLORYGUILD,Guild's Glory
|
||||
10006,0,0,0,0,0,2,1,0,no,0,0x10,0,none,0 ,GD_LEADERSHIP,Great Leadership
|
||||
10007,0,0,0,0,0,2,1,0,no,0,0x10,0,none,0 ,GD_GLORYWOUNDS,Glorious Wounds
|
||||
10004,0,0,0,0,0,0,10,0,no,0,0x10,0,none,0, GD_EXTENSIONGuild Extension
|
||||
10005,0,0,0,0,0,0,1,0,no,0,0x10,0,none,0, GD_GLORYGUILDGuild's Glory
|
||||
10006,0,0,0,0,0,2,1,0,no,0,0x10,0,none,0, GD_LEADERSHIPGreat Leadership
|
||||
10007,0,0,0,0,0,2,1,0,no,0,0x10,0,none,0, GD_GLORYWOUNDSGlorious Wounds
|
||||
10008,0,0,0,0,0,2,1,0,no,0,0x10,0,none,0, GD_SOULCOLD,Cold Heart
|
||||
10009,0,0,0,0,0,2,1,0,no,0,0x10,0,none,0, GD_HAWKEYES,Sharp Gaze
|
||||
10010,0,0,4,0,0x3,15,1,0,yes,0,0x10,0,none,0, GD_BATTLEORDER,Battle Orders
|
||||
|
@ -1871,10 +1871,10 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
|
||||
(i==2 && sd->sc.data[SC_MIRACLE]) //Miracle only applies to Star target
|
||||
))
|
||||
bonus += (i==2?20:10)*pc_checkskill(sd,sg_info[i].bless_id);
|
||||
|
||||
}
|
||||
if(battle_config.mobs_level_up && md->level > md->db->lv) // [Valaris]
|
||||
bonus += (md->level-md->db->lv)*battle_config.mobs_level_up_exp_rate;
|
||||
}
|
||||
|
||||
for(i = 0; i < DAMAGELOG_SIZE && md->dmglog[i].id; i++)
|
||||
{
|
||||
int flag=1,zeny=0;
|
||||
@ -2774,7 +2774,7 @@ int mobskill_use(struct mob_data *md, unsigned int tick, int event)
|
||||
case MSC_MASTERHPLTMAXRATE:
|
||||
flag = ((fbl = mob_getmasterhpltmaxrate(md, ms[i].cond2)) != NULL); break;
|
||||
case MSC_MASTERATTACKED:
|
||||
flag = (md->master_id > 0 && unit_counttargeted(map_id2bl(md->master_id), 0) > 0); break;
|
||||
flag = (md->master_id > 0 && (fbl=map_id2bl(md->master_id)) && unit_counttargeted(fbl, 0) > 0); break;
|
||||
case MSC_ALCHEMIST:
|
||||
flag = (md->state.alchemist);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user