* Added a null pointer check to AB_CLEMENTIA and AB_CANTO.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14945 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
0dded7556b
commit
cfcffb4d0f
@ -1,8 +1,8 @@
|
|||||||
Date Added
|
Date Added
|
||||||
|
|
||||||
2011/08/27
|
2011/08/27
|
||||||
|
* Added a null pointer check to AB_CLEMENTIA and AB_CANTO. [Inkfish]
|
||||||
* Fixed skillratio of Archbishop skills is 100% higher than it's supposed be.(it's initialized to be 100% not 0) [Inkfish]
|
* Fixed skillratio of Archbishop skills is 100% higher than it's supposed be.(it's initialized to be 100% not 0) [Inkfish]
|
||||||
2011/08/27
|
|
||||||
* Reverted unnecessary signature change of clif_skill_fail from r14941. [Gepard]
|
* Reverted unnecessary signature change of clif_skill_fail from r14941. [Gepard]
|
||||||
2011/08/26
|
2011/08/26
|
||||||
* Rev. 14941 Renewal changes in renewal branch? Am I dreaming? [L0ne_W0lf]
|
* Rev. 14941 Renewal changes in renewal branch? Am I dreaming? [L0ne_W0lf]
|
||||||
|
@ -295,7 +295,7 @@ int skill_calc_heal(struct block_list *src, struct block_list *target, int skill
|
|||||||
return battle_config.max_heal;
|
return battle_config.max_heal;
|
||||||
|
|
||||||
// iRO Wiki states as of 2011/08/22:
|
// iRO Wiki states as of 2011/08/22:
|
||||||
// heal = ( [(Base Level + INT) / 5] × 30 ) × (Heal Level / 10) × (1 + (Modifiers / 100)) + MATK
|
// heal = ( [(Base Level + INT) / 5] ?30 ) ?(Heal Level / 10) ?(1 + (Modifiers / 100)) + MATK
|
||||||
// fixme: Does not match up with iRO's heal, level 1 or level 10
|
// fixme: Does not match up with iRO's heal, level 1 or level 10
|
||||||
// with 219 mak + HP_MEDITATO, level 1 = 361; level 10 = 1839
|
// with 219 mak + HP_MEDITATO, level 1 = 361; level 10 = 1839
|
||||||
if( skill_id == AB_HIGHNESSHEAL ) {
|
if( skill_id == AB_HIGHNESSHEAL ) {
|
||||||
@ -5753,12 +5753,12 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
|
|||||||
case AB_CLEMENTIA:
|
case AB_CLEMENTIA:
|
||||||
case AB_CANTO:
|
case AB_CANTO:
|
||||||
if( sd == NULL || sd->status.party_id == 0 || (flag & 1) ) {
|
if( sd == NULL || sd->status.party_id == 0 || (flag & 1) ) {
|
||||||
int lv = 0;
|
int lv = 1;
|
||||||
switch(skillid) {
|
switch(skillid) {
|
||||||
case AB_CLEMENTIA: lv = pc_checkskill(sd,AL_BLESSING); break;
|
case AB_CLEMENTIA: if( sd ) lv = pc_checkskill(sd,AL_BLESSING); break;
|
||||||
case AB_CANTO: lv = pc_checkskill(sd,AL_INCAGI); break;
|
case AB_CANTO: if( sd ) lv = pc_checkskill(sd,AL_INCAGI); break;
|
||||||
}
|
}
|
||||||
clif_skill_nodamage(bl, bl, skillid, skilllv, sc_start(bl,type,100,(lv < 1)? 1: lv,skill_get_time(skillid,skilllv)));
|
clif_skill_nodamage(bl, bl, skillid, skilllv, sc_start(bl,type,100,lv,skill_get_time(skillid,skilllv)));
|
||||||
}
|
}
|
||||||
else if( sd )
|
else if( sd )
|
||||||
party_foreachsamemap(skill_area_sub, sd, skill_get_splash(skillid, skilllv), src, skillid, skilllv, tick, flag|BCT_PARTY|1, skill_castend_nodamage_id);
|
party_foreachsamemap(skill_area_sub, sd, skill_get_splash(skillid, skilllv), src, skillid, skilllv, tick, flag|BCT_PARTY|1, skill_castend_nodamage_id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user