Skip to content

Commit c6b0925

Browse files
author
LocalIdentity
committed
Add minion and spectre OT files
Exports the OT files for the minions and spectres and adds the relevant stats from the OT file PoB 2 PR this was pulled from PathOfBuildingCommunity/PathOfBuilding-PoE2#1281
1 parent 6cbbbb5 commit c6b0925

8 files changed

Lines changed: 428 additions & 20 deletions

File tree

src/Data/Minions.lua

Lines changed: 214 additions & 2 deletions
Large diffs are not rendered by default.

src/Data/SkillStatMap.lua

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,9 @@ return {
405405
["base_spell_block_%"] = {
406406
mod("SpellBlockChance", "BASE", nil),
407407
},
408+
["block_while_dual_wielding_%"] = {
409+
mod("BlockChance", "BASE", nil, 0, 0, { type = "Condition", var = "DualWielding" }),
410+
},
408411
["base_block_%_damage_taken"] = {
409412
mod("BlockEffect", "BASE", nil)
410413
},
@@ -1505,6 +1508,9 @@ return {
15051508
["active_skill_attack_speed_+%_final"] = {
15061509
mod("Speed", "MORE", nil, ModFlag.Attack),
15071510
},
1511+
["dual_wield_inherent_attack_speed_+%_final"] = {
1512+
mod("Speed", "MORE", nil, ModFlag.Attack, 0, { type = "Condition", var = "DualWielding" }),
1513+
},
15081514
["base_attack_speed_+%_per_frenzy_charge"] = {
15091515
mod("Speed", "INC", nil, ModFlag.Attack, 0, { type = "Multiplier", var = "FrenzyCharge" }),
15101516
},
@@ -1541,6 +1547,12 @@ return {
15411547
["attack_maximum_added_physical_damage_with_weapons"] = {
15421548
mod("PhysicalMax", "BASE", nil, ModFlag.Weapon, KeywordFlag.Attack),
15431549
},
1550+
["main_hand_local_minimum_added_physical_damage"] = {
1551+
mod("PhysicalMin", "BASE", nil, ModFlag.Weapon, KeywordFlag.Attack),
1552+
},
1553+
["main_hand_local_maximum_added_physical_damage"] = {
1554+
mod("PhysicalMax", "BASE", nil, ModFlag.Weapon, KeywordFlag.Attack),
1555+
},
15441556
["attack_minimum_added_lightning_damage"] = {
15451557
mod("LightningMin", "BASE", nil, 0, KeywordFlag.Attack),
15461558
},
@@ -2113,6 +2125,41 @@ return {
21132125
["base_cannot_be_damaged"] = {
21142126
mod("Condition:CannotBeDamaged", "FLAG", nil)
21152127
},
2128+
["base_cannot_be_stunned"] = {
2129+
flag("StunImmune"),
2130+
},
2131+
["cannot_be_knocked_back"] = {
2132+
flag("KnockbackImmune"),
2133+
},
2134+
["set_immune_to_curses"] = {
2135+
flag("CurseImmune"),
2136+
},
2137+
["set_maximum_life_is_one"] = {
2138+
mod("Life", "OVERRIDE", nil),
2139+
},
2140+
["set_max_frenzy_charges"] = {
2141+
mod("FrenzyChargesMax", "OVERRIDE", nil),
2142+
},
2143+
["set_energy_shield_recharge_rate_per_minute_%"] = {
2144+
mod("EnergyShieldRecharge", "OVERRIDE", nil),
2145+
div = 60 * 100
2146+
},
2147+
["set_max_endurance_charges"] = {
2148+
mod("EnduranceChargesMax", "OVERRIDE", nil),
2149+
},
2150+
["set_max_power_charges"] = {
2151+
mod("PowerChargesMax", "OVERRIDE", nil),
2152+
},
2153+
["set_base_avoid_projectiles_%_chance"] = {
2154+
mod("AvoidProjectilesChance", "BASE", nil),
2155+
},
2156+
["monster_inherent_damage_taken_+%_final"] = {
2157+
mod("DamageTaken", "MORE", nil),
2158+
},
2159+
["set_base_cannot_be_damaged"] = {
2160+
mod("DamageTaken", "MORE", nil),
2161+
value = -100,
2162+
},
21162163
--
21172164
-- Gem Levels
21182165
--

0 commit comments

Comments
 (0)