Jump to content
  • 0

Grand Cross


Hyoru

Question


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  122
  • Reputation:   11
  • Joined:  01/30/12
  • Last Seen:  

Hi,

I found this at skill.c

case CR_GRANDCROSS:
case NPC_GRANDDARKNESS:
 //Chance to cause blind status vs demon and undead element, but not against players
 if(!dstsd && (battle_check_undead(tstatus->race,tstatus->def_ele) || tstatus->race == RC_DEMON))
  sc_start(bl,SC_BLIND,100,skilllv,skill_get_time2(skillid,skilllv));
 attack_type |= BF_WEAPON;
 break;

I need raise the Damage of Grand Cross, where i have to edit? Thanks Adv.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

maybe it is this part ??

https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/src/map/battle.c

 if( skill_num == CR_GRANDCROSS || skill_num == NPC_GRANDDARKNESS )
 { //Apply the physical part of the skill's damage. [skotlex]
  struct Damage wd = battle_calc_weapon_attack(src,target,skill_num,skill_lv,mflag);
  ad.damage = battle_attr_fix(src, target, wd.damage + ad.damage, s_ele, tstatus->def_ele, tstatus->ele_lv) * (100 + 40*skill_lv)/100;
  if( src == target )
  {
   if( src->type == BL_PC )
 ad.damage = ad.damage/2;
   else
 ad.damage = 0;
  }
 }

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   47
  • Joined:  11/18/11
  • Last Seen:  

^ Edit just as Emy said:

(100 + 40*skill_lv)/100;

To raise you could change it like (Supposing your server is 255/70, highrate):

(160 + 55*skill_lv)/80;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...