@Fatt_Shade:
As it turns out, it is implemented as Percent of Base in both TL and AP so the developers intended for it to work this way, I guess.
Nonetheless, the change is easy:
- Search for special_battle_mage_attack in SPECIAL_ATTACKS.LUA.
- Look for the lines that start with Attack.act_apply_dmg... there will be too of them within this function, one for min and one for max. Note that the line goes like this: Attack.act_apply_dmgmin_spell( "magic", 0, power, 0, duration, false ), for min damage.
- Change both min and max like this: Attack.act_apply_dmgmin_spell( "magic", 0, 0, power, duration, false ), note how power has essentially swapped with the 0 to the right of it in the original code. Do the same thing to max and save and close and you'll get want you want.
By the way, for most functions that work on a statistic, the order is absolute percent increase, percent of base, and then percent of current. See
http://translate.googleusercontent.c...LwAowdEODmh0mw as a reference for the King's Bounty LUA Attack library.
Good luck!
/C\/C\
Quote:
Originally Posted by Fatt_Shade
I noticed this problem before, but now in Red sands mod it`s even more 
If you use archmage and get him to higher lvl, and some bonus dmg on stats in battle during battle trance he will get 100% dmg but only from his basic 5-8, not including bonus from lvlup. If you get some archmage_staff (or 2, i tried using 3 with warrior just to check) my archmage had 3x20% bonus dmg from staff and +18% from lvl`s so in battle dmg was 9-14. When i use battle trance he should get +100% dmg from but instead 18-28, i got 14-22, so +(5-8 ) got only his basic dmg without any item/lvlup bonuses.
On other side if you use ogre and get his attack from 47 basic, to 100 with lvlup/frenzy/items and use ogre rage, he`ll get 100% bonus attack from his current, not basic attack.
My question for you ppl is, how to make archmage get same bonus as ogre, based on his actual dmg in game, not basic from archmage.txt Same prob happens if you use some +dmg item (poison dagger/whip of ishara) archmage will get dmg from those items, but in battle trance will get bonus from his basic dmg 5-8 
Try checking in scripts special_attacks.lua file and compare Battle mage, and Ogre rage part of file, to figure out how to give same bonus to archmage as ogre have.
|