How to change Asal damages ?

02/06/2013 15:39 stevebosslol#1
Hello epvpers !

Today i need to nerf asal,
Who know how to change his damages ? It's in source ?

Because my server is PVP and i don't want to have only Asal ^^
I have saw a 81M in duel Oo

Thx.

Karles.
02/06/2013 18:13 Xefiroid#2
The Asal dmg is calculated in source.
the file is called "AttackArbiter.cpp"

If you cant handle the source code then you better nerf the INT/MP Rate of the BPs in the resource.

Go into propJob.inc and scroll down, at the bottom you will see this:

(example)
JOB_FORCEMASTER_HERO 100.0 1.2 1.0

the 3rd number is the MP per INT, put it on 0.01 and the MP will be nerfed aswell as the Asal damage.
02/06/2013 19:32 stevebosslol#3
Thank you man !
02/06/2013 20:19 xDarkiii#4
Quote:
Originally Posted by Xefiroid View Post
The Asal dmg is calculated in source.
the file is called "AttackArbiter.cpp"

If you cant handle the source code then you better nerf the INT/MP Rate of the BPs in the resource.

Go into propJob.inc and scroll down, at the bottom you will see this:

(example)
JOB_FORCEMASTER_HERO 100.0 1.2 1.0

the 3rd number is the MP per INT, put it on 0.01 and the MP will be nerfed aswell as the Asal damage.
I dont know but most BP/Forcemaster put on str and sta from stats and get mp by awake so this would do nothing at all
02/06/2013 21:42 clericqueen1#5
Quote:
Originally Posted by xDarkiii View Post
I dont know but most BP/Forcemaster put on str and sta from stats and get mp by awake so this would do nothing at all
It would do a lot since it's nerfing the mp of the BP. The mp
will be lower and the Asal won't hit as much as before.
02/07/2013 08:34 raventh1984#6
Here is the thing i have done to nerfe it for PVP. PVE is still normal.

Go to AttackArbiter.cpp

And find this line int CAttackArbiter::PostAsalraalaikum()

There you see this
return ( ( ( m_pAttacker->GetStr() / 10 ) * dwSkillLevel ) * ( 5 + nMP / 10 ) + nAddDmg );

This is the calculation for Asal.
Its devided by 10

What i did is this


for pvp i devided it by 13. If you set this higher either the str or the MP then asal will get lower.
02/10/2013 18:20 stevebosslol#7
Ok, thanks all
08/08/2017 15:38 charmos#8
do you know where to change the skill time?
08/08/2017 19:42 Unleashed!#9
Quote:
Originally Posted by raventh1984 View Post
Here is the thing i have done to nerfe it for PVP. PVE is still normal.

Go to AttackArbiter.cpp

And find this line int CAttackArbiter::PostAsalraalaikum()

There you see this
return ( ( ( m_pAttacker->GetStr() / 10 ) * dwSkillLevel ) * ( 5 + nMP / 10 ) + nAddDmg );

This is the calculation for Asal.
Its devided by 10

What i did is this


for pvp i devided it by 13. If you set this higher either the str or the MP then asal will get lower.
I would change that to this code, more compact and i dont know if there is any instance where a target would be neither a npc or a player (havent looked up the IsNPC function but this would work in all cases:


i swapped m_pAttacker for m_pTarget as it wouldnt do anything good otherwise. I dont know if m_pTarget is the right name, could be something like m_pDefender as well, havent looked that up. The Attacker should never be a NPC, imagine being hit by an aibatt casting asal. :'D

Edit: Another way to do this purely based on resources would be to lower MP Awakes since they arent really used for anythig but asal if you didnt change much about the official balancing.