User:Antohha
Line 89: | Line 89: | ||
|- | |- | ||
||[[File:Brahminc.png]] || [[File:Familyc.png]]||[[File:Vaultc.png]] ||[[File:Lawyerc.png]] | ||[[File:Brahminc.png]] || [[File:Familyc.png]]||[[File:Vaultc.png]] ||[[File:Lawyerc.png]] | ||
+ | |||
+ | |||
+ | |||
+ | {| class="wikitable" width="90%" | ||
+ | |- | ||
+ | ! colspan="6" | <center>Energy Weapons</center> | ||
+ | |- | ||
+ | ! <center>Name</center> !! <center>Str.</center> !! <center>Damage</center> !! <center>AP cost</center> !! <center>Range</center> !! <center>Reload</center> | ||
+ | |- | ||
+ | | [[Alien Blaster]] || - || - || - || - || - | ||
+ | |- | ||
+ | | [[Electro SMG]] || 3 || 45-100(single) <br>15-25(burst) || 45(single) <br>20(burst) || 35(single) <br>25(burst) || 27 | ||
+ | |- | ||
+ | | [[Laser Pistol]] || 3 || 20-45(single) || 25(single) || 45(single) || 22 | ||
+ | |- | ||
+ | | [[Magneto Laser Pistol]] || 3 || 45-60(single) || 25(single) || 40(single) || 27 | ||
+ | |- | ||
+ | | [[Phazer]] || 3 || 25-45(single) || 20(single) || 30(single) || 30 | ||
+ | |- | ||
+ | | [[Plasma Pistol]] || 4 || 35-55(single) || 15(single) || 30(single) || 40 | ||
+ | |- | ||
+ | | [[Plasma Pistol Ext. Cap.]] || 4 || 40-60(single) || 20(single) || 30(single) || 60 | ||
+ | |- | ||
+ | | [[Rad SMG]] || 4 || 35-50(single) <br>25-30(burst) || 20(single) <br>45(burst) || 40(single) <br>40(burst) || 35 | ||
+ | |- | ||
+ | | [[Solar Scorcher]] || 3 || 35-55(single) || 50(single) || 60(single) || 27 | ||
+ | |- | ||
+ | | [[YK32 Pulse Pistol]] || 3 || 40-85(single) || 18(single) || 22(single) || 36 | ||
+ | |- | ||
+ | | [[Gravitron]] || - || - || - || - || - | ||
+ | |- | ||
+ | | [[Electro Rifle]] || 6 || 1-180(single) || 40(single) || 40(single) || 60 | ||
+ | |- | ||
+ | | [[Gatling Laser]] || 7 || 20-25(burst) || 10(burst) || 55(burst) || 200 | ||
+ | |- | ||
+ | | [[Laser Rifle]] || 6 || 80-100(single) || 50(single) || 75(single) || 35 | ||
+ | |- | ||
+ | | [[Laser Rifle Ext. Cap.]] || 6 || 60-80(single) || 23(single) || 55(single) || 70 | ||
+ | |- | ||
+ | | [[Plasma Rifle]] || 6 || 62-82(single) || 24(single) || 35(single) || 35 | ||
+ | |- | ||
+ | | [[Rad Rifle]] || 6 || 80-100(single) || 49(single) || 33(single) || 60 | ||
+ | |- | ||
+ | | [[Turbo Plasma Rifle]] || 6 || 70-80(single) || 25(single) || 40(single) || 50 | ||
+ | |- | ||
+ | | [[YK42B Pulse Rifle]] || 6 || 80-90(single) || 45(single) || 45(single) || 50 | ||
+ | |- | ||
+ | | [[Plasma Cannon]] || 7 || 160-220(single) || 80(single) || 66(single) || 50 | ||
+ | |- | ||
+ | | [[Sonic Cannon]] || 7 || 60-70(single) || 80(single) || 55(single) || 60 | ||
+ | |- | ||
+ | |} |
Revision as of 23:55, 14 April 2016
At first target's resistances and thresholds are calculated.
After that using this values raw damage is calculated.
If it is higher than zero, bleed value is counted.
Contents |
Damage resistance
TargetDR = Armor + Perks
TargetDR = (TargetDR* (100 - (10*HitTheGap) + 30*attacker.Param[TRAIT_FINESSE]))/100
if (PartialBypass > 0 )
{
TargetDR = (TargetDR * (100 - PartialBypass )) / 100;
}
TargetDR += Ammo.DRMod
TargetDR = CLAMP(TargetDR , 0, 100)
Bypass
PartialBypass % = 60 * Decreaed DR WeaponTrait
PartialBypass += 30 + (30 * (55 - ((21 - L) * L) / 2)) / 45
PartialBypass -= target.Perk[PE_ARMOR_EFFICIENCY] * 15
PartialBypass += 15 * (weaponPerkEff(attack.WeaponPerks, attack.Skill, WP_PIERCING_STRIKE))
PartialBypass += 15 * weaponLegendaryEff(realWeapon,WP_PIERCING_STRIKE)
PartialBypass += GetLeadershipBoost(attacker,FTLB_MORE_ARMOR_BYPASS)
PartialBypass -= GetLeadershipBoost(target,FTLB_LESS_ARMOR_BYPASS)
PartialBypass = CLAMP(partialBypass, 0, 100)
Damage threshold
TargetDT = Armor + Perks
TargetDT = (TargetDT * (100 - (10 * HitTheGap) + changeDT)) / 100
TargetDT = (TargetDT * (100 + Ammo.DTMod)) / 100
TargetDT = CLAMP(TargetDT , 0, 9999)
Damage calculation
DmgMul = DmgMul * Ammo.DmgMul / 100
DmgMul = (DmgMul * bonusDamage) / 100
rawMin += BRD - targetDT
rawMin -= rawMin * targetDR / 100
rawMin *= dmgMul / 100
rawMin *= rounds
rawMax += BRD - targetDT
rawMax -= rawMax * targetDR / 100
rawMax *= dmgMul / 100
rawMax *= rounds
rawDmg = Random(rawMin, rawMax)
Bleed calculation
if rawDmg was higher than zero, Bleed is calculated.
BleedCoEff += attack.BleedStr + 20 * weaponPerkEff(WP_BETTER_BLEED);
BleedCoEff += 20*weaponLegendaryEff(WP_BETTER_BLEED);
if (BleedCoEff > 0)
{
BleedCoEff -= GetLeadershipBoost(target,FTLB_LESS_BLEED);
BleedCoEff += GetLeadershipBoost(target,FTLB_MORE_BLEED);
BleedDmg = rawDmg * BleedCoEff / 100;
}
int toBleed = target.Param[ST_DAMAGE_TO_BLEED_DR] + 10 * target.Perk[PE_PMS];
int mitbd = rawDmg * toBleed / 100 + target.Param[ST_DAMAGE_TO_BLEED_DT];
if (mitbd > rawDmg )mitbd = rawDmg ;
rawDmg -= mitbd ;
BleedDmg += mitbd;
if (bd > 0)AffectBleed(target, BleedDmg );
| ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Name | Damage | range | ap cost | speed | accuracy | dmgtype | skill | burstcount | 1hex | spread |
Name | Damage | range | ap cost | speed | accuracy | dmgtype | skill | burstcount | 1hex | spread |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Brahmin Boys | Family | Vault Tec | Lawyers | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|