Edit DMG RANGER

01/31/2014 19:51 Supr3matt#1
Hello friends, I wanted to see if I could help, I have a doubt as to edit the DMG Ranger and Crackshooter, but I have not found, on any side, I just found this:

Quote:
case WT_RANGE_BOW:
nATK = (int)( (((GetDex()-14)*4.0f + (GetLevel()*1.3f) + (GetStr()*0.2f)) * 0.7f) );
break;
That would edit the DMG the bow, not if I'm right I would like if someone could help me, thank you very much!
02/01/2014 00:33 Avalion#2
Yes, that is the formula for the damage for bow's
02/01/2014 10:04 TrøublêMakêr#3
change this:

*4.0f
02/01/2014 15:56 Supr3matt#4
Quote:
Originally Posted by TrøublêMakêr View Post
change this:

*4.0f
Thanks men , I love You :D
02/01/2014 20:08 Avalion#5
Quote:
Originally Posted by Supr3matt View Post
Thanks men , I love You :D
Technically, changing anything in that formula would alter bow damage. 4.0f is just the multiplier for dex that is used. Yoyo's say JOB_PROP_YOYO because it's loaded from Propjob.inc and in there it is set to 4.0f.

Let's say, 240dex, level 120m, 40int, 40sta.
Original
Code:
nATK = (int)( (((GetDex()-14)*4.0f + (GetLevel()*1.3f) + (GetStr()*0.2f)) * 0.7f) );
nAtk = 744;

Which is then shipped off to other formulas and others

You can change the code anyway you want for a different damage output.
Code:
nATK = (int)( (((GetDex()-8)*3.9f + (GetLevel()*1.9f) + (GetInt()*0.4f) + (GetStr()*0.2f)) * 0.9f));
nATK = 1036
02/03/2014 11:11 .Trotex.#6
Guck dir das mal an, da kannst du das leicht in der Ressource danach ändern :-) da wird dieser Faktor *4.0 durch das ersetzt was in der Ressource Datei "propjob.inc" steht.

[Only registered and activated users can see links. Click Here To Register...]