Skip to content

Commit c4028f0

Browse files
LocalIdentityLocalIdentity
andauthored
Export Minion / Spectre OT file stats (#1281)
* Export Minion / Spectre OT file stats The ot files for minions and spectres sometimes contain stats in them that are important for us to know e.g. Stun modifiers or attack speed per rage * Add support for extended ot file connections Many ot files have a parent file they inherit stats from so this now works Changed the extraction of the ot files into regenerating all the files so it is now much faster --------- Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent f44294f commit c4028f0

5 files changed

Lines changed: 531 additions & 35 deletions

File tree

src/Data/Minions.lua

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ minions["RaisedZombie"] = {
3333
},
3434
modList = {
3535
-- MonsterNoDropsOrExperience [monster_no_drops_or_experience = 1]
36+
-- set_item_drop_slots [set_item_drop_slots = 0]
37+
-- set_action_attack_or_cast_time_uses_animation_length [set_action_attack_or_cast_time_uses_animation_length = 0]
3638
},
3739
}
3840

@@ -62,6 +64,9 @@ minions["SummonedRagingSpirit"] = {
6264
},
6365
modList = {
6466
mod("Speed", "MORE", 40, 1, 0), -- MonsterSummonedSkullFastAttack1 [active_skill_attack_speed_+%_final = 40]
67+
-- set_item_drop_slots [set_item_drop_slots = 0]
68+
-- set_action_attack_or_cast_time_uses_animation_length [set_action_attack_or_cast_time_uses_animation_length = 0]
69+
-- untargetable_by_monster_ai [untargetable_by_monster_ai = 1]
6570
},
6671
}
6772

@@ -93,6 +98,9 @@ minions["RaisedSkeletonSniper"] = {
9398
},
9499
modList = {
95100
-- MonsterNoDropsOrExperience [monster_no_drops_or_experience = 1]
101+
-- set_item_drop_slots [set_item_drop_slots = 0]
102+
-- set_action_attack_or_cast_time_uses_animation_length [set_action_attack_or_cast_time_uses_animation_length = 0]
103+
-- is_skeleton_minion [is_skeleton_minion = 1]
96104
},
97105
}
98106

@@ -126,6 +134,11 @@ minions["RaisedSkeletonBrute"] = {
126134
},
127135
modList = {
128136
-- MonsterNoDropsOrExperience [monster_no_drops_or_experience = 1]
137+
-- set_item_drop_slots [set_item_drop_slots = 0]
138+
-- set_action_attack_or_cast_time_uses_animation_length [set_action_attack_or_cast_time_uses_animation_length = 0]
139+
-- is_skeleton_minion [is_skeleton_minion = 1]
140+
-- melee_conditional_step_distance [melee_conditional_step_distance = 14]
141+
-- active_skill_hit_damage_stun_multiplier_+%_final [active_skill_hit_damage_stun_multiplier_+%_final = 50]
129142
},
130143
}
131144

@@ -158,6 +171,9 @@ minions["RaisedSkeletonStormMage"] = {
158171
},
159172
modList = {
160173
-- MonsterNoDropsOrExperience [monster_no_drops_or_experience = 1]
174+
-- set_item_drop_slots [set_item_drop_slots = 0]
175+
-- set_action_attack_or_cast_time_uses_animation_length [set_action_attack_or_cast_time_uses_animation_length = 0]
176+
-- is_skeleton_minion [is_skeleton_minion = 1]
161177
},
162178
}
163179

@@ -190,6 +206,9 @@ minions["RaisedSkeletonFrostMage"] = {
190206
},
191207
modList = {
192208
-- MonsterNoDropsOrExperience [monster_no_drops_or_experience = 1]
209+
-- set_item_drop_slots [set_item_drop_slots = 0]
210+
-- set_action_attack_or_cast_time_uses_animation_length [set_action_attack_or_cast_time_uses_animation_length = 0]
211+
-- is_skeleton_minion [is_skeleton_minion = 1]
193212
},
194213
}
195214

@@ -223,6 +242,9 @@ minions["RaisedSkeletonCleric"] = {
223242
},
224243
modList = {
225244
-- MonsterNoDropsOrExperience [monster_no_drops_or_experience = 1]
245+
-- set_item_drop_slots [set_item_drop_slots = 0]
246+
-- set_action_attack_or_cast_time_uses_animation_length [set_action_attack_or_cast_time_uses_animation_length = 0]
247+
-- is_skeleton_minion [is_skeleton_minion = 1]
226248
},
227249
}
228250

@@ -255,6 +277,10 @@ minions["RaisedSkeletonArsonist"] = {
255277
},
256278
modList = {
257279
-- MonsterNoDropsOrExperience [monster_no_drops_or_experience = 1]
280+
-- set_item_drop_slots [set_item_drop_slots = 0]
281+
-- set_action_attack_or_cast_time_uses_animation_length [set_action_attack_or_cast_time_uses_animation_length = 0]
282+
-- is_skeleton_minion [is_skeleton_minion = 1]
283+
-- strafe_distance_+% [strafe_distance_+% = -40]
258284
},
259285
}
260286

@@ -288,6 +314,10 @@ minions["RaisedSkeletonReaver"] = {
288314
},
289315
modList = {
290316
-- MonsterNoDropsOrExperience [monster_no_drops_or_experience = 1]
317+
-- set_item_drop_slots [set_item_drop_slots = 0]
318+
-- set_action_attack_or_cast_time_uses_animation_length [set_action_attack_or_cast_time_uses_animation_length = 0]
319+
-- is_skeleton_minion [is_skeleton_minion = 1]
320+
-- attack_speed_+%_per_2_rage [attack_speed_+%_per_2_rage = 6]
291321
},
292322
}
293323

@@ -322,6 +352,9 @@ minions["RaisedSkeletonWarriors"] = {
322352
-- MonsterNoDropsOrExperience [monster_no_drops_or_experience = 1]
323353
mod("BlockChance", "BASE", 30, 0, 0), -- SkeletonWarriorPlayerMinionBlockChance [monster_base_block_% = 30]
324354
mod("BlockChanceMax", "BASE", 0, 0, 0), -- SkeletonWarriorPlayerMinionBlockChance [additional_maximum_block_% = 0]
355+
-- set_item_drop_slots [set_item_drop_slots = 0]
356+
-- set_action_attack_or_cast_time_uses_animation_length [set_action_attack_or_cast_time_uses_animation_length = 0]
357+
-- is_skeleton_minion [is_skeleton_minion = 1]
325358
},
326359
}
327360

@@ -352,6 +385,8 @@ minions["SummonedHellhound"] = {
352385
},
353386
modList = {
354387
-- MonsterNoDropsOrExperience [monster_no_drops_or_experience = 1]
388+
-- set_item_drop_slots [set_item_drop_slots = 0]
389+
-- set_action_attack_or_cast_time_uses_animation_length [set_action_attack_or_cast_time_uses_animation_length = 0]
355390
},
356391
}
357392

@@ -511,6 +546,9 @@ minions["UnearthBoneConstruct"] = {
511546
},
512547
modList = {
513548
-- MonsterNoDropsOrExperience [monster_no_drops_or_experience = 1]
549+
-- set_item_drop_slots [set_item_drop_slots = 0]
550+
-- set_action_attack_or_cast_time_uses_animation_length [set_action_attack_or_cast_time_uses_animation_length = 0]
551+
-- set_base_heavy_stun_duration_ms [set_base_heavy_stun_duration_ms = 2930]
514552
},
515553
}
516554

@@ -542,6 +580,11 @@ minions["SummonedRhoa"] = {
542580
modList = {
543581
-- MonsterNoDropsOrExperience [monster_no_drops_or_experience = 1]
544582
-- MonsterIgnoreActorScaleFromStats [ignore_actor_scale_from_stats = 1]
583+
-- set_item_drop_slots [set_item_drop_slots = 0]
584+
-- set_action_attack_or_cast_time_uses_animation_length [set_action_attack_or_cast_time_uses_animation_length = 0]
585+
-- set_has_quadruped_head_control [set_has_quadruped_head_control = 1]
586+
-- set_quadruped_head_turn_duration_ms [set_quadruped_head_turn_duration_ms = 200]
587+
-- no_blood_on_death [no_blood_on_death = 1]
545588
},
546589
}
547590

@@ -573,6 +616,20 @@ minions["ManifestWeapon"] = {
573616
"GAAnimateWeaponQuarterstaffSweep",
574617
},
575618
modList = {
619+
-- set_item_drop_slots [set_item_drop_slots = 0]
620+
-- set_action_attack_or_cast_time_uses_animation_length [set_action_attack_or_cast_time_uses_animation_length = 0]
621+
-- minion_does_not_equip_quiver [minion_does_not_equip_quiver = 1]
622+
-- monster_gets_item_stats [monster_gets_item_stats = 1]
623+
-- untargetable_by_monster_ai [untargetable_by_monster_ai = 1]
624+
-- set_base_cannot_be_damaged [set_base_cannot_be_damaged = 1]
625+
-- set_cannot_be_chained_from [set_cannot_be_chained_from = 1]
626+
-- set_base_maximum_life_is_one [set_base_maximum_life_is_one = 1]
627+
-- base_cannot_be_stunned [base_cannot_be_stunned = 1]
628+
-- cannot_be_knocked_back [cannot_be_knocked_back = 1]
629+
-- set_cannot_be_splashed_from [set_cannot_be_splashed_from = 1]
630+
-- immune_to_auras_from_other_teams [immune_to_auras_from_other_teams = 1]
631+
-- hide_buff_visuals [hide_buff_visuals = 1]
632+
-- hide_mini_life_bar [hide_mini_life_bar = 1]
576633
},
577634
}
578635

@@ -599,6 +656,24 @@ minions["RavenousSwarm"] = {
599656
"RavenousSwarmAttack",
600657
},
601658
modList = {
659+
-- set_item_drop_slots [set_item_drop_slots = 0]
660+
-- set_action_attack_or_cast_time_uses_animation_length [set_action_attack_or_cast_time_uses_animation_length = 0]
661+
-- immune_to_curses [immune_to_curses = 1]
662+
-- immune_to_auras_from_other_entities [immune_to_auras_from_other_entities = 1]
663+
-- set_item_drop_slots [set_item_drop_slots = 0]
664+
-- mana_regeneration_rate_per_minute_% [mana_regeneration_rate_per_minute_% = 100]
665+
-- base_maximum_mana [base_maximum_mana = 100000]
666+
-- set_monster_no_drops_or_experience [set_monster_no_drops_or_experience = 1]
667+
-- set_monster_do_not_fracture [set_monster_do_not_fracture = 1]
668+
-- set_max_frenzy_charges [set_max_frenzy_charges = 0]
669+
-- set_max_endurance_charges [set_max_endurance_charges = 0]
670+
-- set_max_power_charges [set_max_power_charges = 0]
671+
-- is_hidden_monster [is_hidden_monster = 1]
672+
mod("Condition:CannotBeDamaged", "FLAG", 1, 0, 0), -- base_cannot_be_damaged [base_cannot_be_damaged = 1]
673+
-- base_cannot_be_stunned [base_cannot_be_stunned = 1]
674+
-- cannot_be_knocked_back [cannot_be_knocked_back = 1]
675+
-- base_cannot_be_frozen [base_cannot_be_frozen = 1]
676+
-- base_maximum_life_is_one [base_maximum_life_is_one = 1]
602677
},
603678
}
604679

@@ -627,5 +702,26 @@ minions["LivingLightning"] = {
627702
},
628703
modList = {
629704
-- MonsterNoDropsOrExperience [monster_no_drops_or_experience = 1]
705+
-- set_item_drop_slots [set_item_drop_slots = 0]
706+
-- set_action_attack_or_cast_time_uses_animation_length [set_action_attack_or_cast_time_uses_animation_length = 0]
707+
-- immune_to_curses [immune_to_curses = 1]
708+
-- immune_to_auras_from_other_teams [immune_to_auras_from_other_teams = 1]
709+
-- set_item_drop_slots [set_item_drop_slots = 0]
710+
-- set_monster_no_drops_or_experience [set_monster_no_drops_or_experience = 1]
711+
-- set_monster_do_not_fracture [set_monster_do_not_fracture = 1]
712+
-- set_max_frenzy_charges [set_max_frenzy_charges = 0]
713+
-- set_max_endurance_charges [set_max_endurance_charges = 0]
714+
-- set_max_power_charges [set_max_power_charges = 0]
715+
-- base_cannot_be_stunned [base_cannot_be_stunned = 1]
716+
-- cannot_be_knocked_back [cannot_be_knocked_back = 1]
717+
-- set_phase_through_objects [set_phase_through_objects = 1]
718+
-- untargetable_by_monster_ai [untargetable_by_monster_ai = 1]
719+
-- set_minion_cannot_be_directed [set_minion_cannot_be_directed = 1]
720+
-- set_base_cannot_be_damaged [set_base_cannot_be_damaged = 1]
721+
-- set_cannot_be_chained_from [set_cannot_be_chained_from = 1]
722+
-- set_base_maximum_life_is_one [set_base_maximum_life_is_one = 1]
723+
-- set_cannot_be_splashed_from [set_cannot_be_splashed_from = 1]
724+
-- hide_buff_visuals [hide_buff_visuals = 1]
725+
-- hide_mini_life_bar [hide_mini_life_bar = 1]
630726
},
631727
}

0 commit comments

Comments
 (0)