Tailean

Member
I have been searching and thought it would be in BaseWeapon.cs, sadly I cannot seem to find it. I found these lines:
Code:
bool ignoreArmor = ( a is ArmorIgnore || (move != null && move.IgnoreArmor( attacker )) );

            damageGiven = AOS.Damage( defender, attacker, damage, ignoreArmor, phys, fire, cold, pois, nrgy, chaos, direct, false, this is BaseRanged, false );

            double propertyBonus = ( move == null ) ? 1.0 : move.GetPropertyBonus( attacker );

The problem is, AI is scaling on damage increase.
 
armorIgnore cap in AOS.cs:

if ( !deathStrike )
totalDamage = Math.Min( damage, 35 ); // Direct Damage cap of 35
 
I did a google search about the Disarm weapon ability being used on a monster, and it said the disarmed target will take 50% more damage for 10 seconds. This isn't true, but I want to implement it. Can you explain how the above "!deathStrike" is the same as the armorIgnore cap? How would I go about making it so if you disarm a monster that it takes extra damage for 10 seconds? Would that also be in the AOS.cs?
 

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back