Weapon damage of blunt weapons Hammer, Mace

Welcome in the osRose emulator Project.

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

Weapon damage of blunt weapons Hammer, Mace

Postby devilking on Sun Nov 04, 2007 4:36 am

the weapons makes 10 x more damage as the other weapons

i found this in playerstats.cpp
  1.  
  2. case ONE_HAND_BUNT_SWORD://one hand blunt sword
  3.             attack += (UINT)floor( (Attr->Str + Attr->Estr)*0.75 + Stats->Level*0.2 + ((Attr->Str + Attr->Estr)*0.05 + 29) * weaponatk * 0.03333334 );
  4.             for(UINT i=0;i<MAX_SKILL;i++)
  5.             {
  6.                 if( cskills[i].id == 0 || cskills[i].thisskill == 0 )
  7.                     continue;
  8.                 if( cskills[i].thisskill->type == 15 ) //Pasive
  9.                 {        
  10.                     for( UINT j=0;j<3;j++ )
  11.                     {
  12.                         if( cskills[i].thisskill->buff[j] == ONE_HAND_WEAP_AP ||
  13.                             cskills[i].thisskill->buff[j] == ONE_HAND_MELEE_AP )
  14.                         {
  15.                             if( cskills[i].thisskill->value2[j] > 0 )
  16.                                 attack += attack * cskills[i].thisskill->value2[j] / 100;
  17.                             if( cskills[i].thisskill->value1[j] > 0 )
  18.                             {
  19.                                 attack += cskills[i].thisskill->value1[j];
  20.                             }
  21.                         }
  22.                     }
  23.                 }
  24.             }          
  25.         break;


i played on this line

  1. attack += (UINT)floor( (Attr->Str + Attr->Estr)*0.75 + Stats->Level*0.2 + ((Attr->Str + Attr->Estr)*0.05 + 29) * weaponatk * 0.03333334 );


changed to this

  1. attack += (UINT)floor( (Attr->Str + Attr->Estr)*0.22 + Stats->Level*0.2 + ((Attr->Str + Attr->Estr)*0.000000000000000000001 + 29) * weaponatk * 0.0000033 );


the hammer and mace damage 98 % better then befor but the devs can fix that 100 %
devilking
osRose dev
osRose dev
 
Posts: 99
Joined: Wed Aug 08, 2007 10:41 pm

Re: Weapon damage of blunt weapons Hammer, Mace

Postby Rifke on Sun Nov 04, 2007 1:45 pm

0.000000000000000000001
1 * 10^-11 ... ? Why have you choisen such a number? Just some random thoughts?
Rifke
Pero pero
Pero pero
 
Posts: 719
Joined: Thu Aug 09, 2007 3:01 pm
Location: Belgium

Re: Weapon damage of blunt weapons Hammer, Mace

Postby shizuo on Sat Oct 25, 2014 2:15 am

Well numbers doesn't matter as long as they fix the new weapons and + more damage cool.
User avatar
shizuo
Little soul
Little soul
 
Posts: 1
Joined: Fri Oct 24, 2014 3:32 pm

Re: Weapon damage of blunt weapons Hammer, Mace

Postby rl2171 on Thu Oct 30, 2014 2:39 am

shizuo wrote:Well numbers doesn't matter as long as they fix the new weapons and + more damage cool.


Nothing like replying to a 7 year old message! :)
Image
rl2171
Admin
Admin
 
Posts: 1706
Joined: Mon Aug 06, 2007 5:17 pm
Location: Sacramento, CA USA - GMT-8


Return to Support - OsRose Emulator

Who is online

Users browsing this forum: No registered users and 12 guests

cron