PathOfBuildingCommunity / PathOfBuilding

Offline build planner for Path of Exile.
https://pathofbuilding.community
Other
4k stars 2.08k forks source link

Spectre Addition Error Codes [New Team for Affliction SPectre Adds? #6980

Open Monstarella opened 11 months ago

Monstarella commented 11 months ago

Check version

Check for duplicates

Check for support

What is the behaviour in-game?

N/A

What is the behaviour in Path of Building?

Error code on launch caused by proper [afaik] insertion of new spectre data

How to reproduce the issue

  1. Go to Spectre.lua file in Path of Buidling which list minions
  2. Insert the following new table at the bottom -- Perfect Dancing Sword minions["Metadata/Monsters/LeagueAzmeri/SpecialCorpses/AnimatedSwordHigh_"] = { name = "Perfect Dancing Sword", life = 1.5, fireResist = 0, coldResist = 0, lightningResist = 0, chaosResist = 0, damage = 2.25, damageSpread = 0, attackTime = 1.5, attackRange = 6, accuracy = 1, skillList = { "MeleeAtAnimationSpeed", "AzmeriSawbladeAnimatedWeaponCyclone", "AzmeriDoubleSlashAnimatedWeapon", "AzmeriSwordStormCascade", }, modList = { }, }
  3. Go to Spectre.lua containing minion skills
  4. Insert the following new table at bottom } skills["MeleeAtAnimationSpeed"] = { name = "Default Attack", hidden = true, color = 4, baseEffectiveness = 0, incrementalEffectiveness = 0, description = "Strike your foes down with a powerful blow.", skillTypes = { [SkillType.Attack] = true, [SkillType.RangedAttack] = true, [SkillType.MirageArcherCanUse] = true, [SkillType.Projectile] = true, [SkillType.MeleeSingleTarget] = true, [SkillType.Multistrikeable] = true, [SkillType.Melee] = true, [SkillType.ProjectilesFromUser] = true, }, statDescriptionScope = "skill_stat_descriptions", castTime = 1, baseFlags = { attack = true, melee = true, projectile = true, }, baseMods = { }, qualityStats = { }, stats = { }, levels = { [1] = {levelRequirement = 1, statInterpolation = , cost = { }, }, }, } skills["AzmeriSawbladeAnimatedWeaponCyclone"] = { name = "Cyclone", hidden = true, color = "2", baseEffectiveness = 0, incrementalEffectiveness = 0, description = "Damage enemies around you, then perform a spinning series of attacks as you travel to a target location. Cannot be supported by Ruthless or Multistrike.", skillTypes = { [SkillType.Attack] = true, [SkillType.Area] = true, [SkillType.Melee] = true, [SkillType.Movement] = true, }, statDescriptionScope = "skill_stat_descriptions", castTime = 1, baseFlags = { attack = true, area = true, melee = true, }, baseMods = { }, qualityStats = { }, stats = { }, levels = { [1] = {levelRequirement = 68, statInterpolation = , cost = { }, }, }, } skills["AzmeriDoubleSlashAnimatedWeapon"] = { name = "Lacerate", hidden = true, color = "2", baseEffectiveness = 0, incrementalEffectiveness = 0, description = "Slashes twice, releasing waves of force that damage enemies they hit. Enemies in the middle of the slashes can be hit by both. The slashes will have a chance to inflict bleeding in Blood Stance, or have a wider angle in Sand Stance. Can be used with Axes and Swords. You are in Blood Stance by default.", skillTypes = { [SkillType.Attack] = true, [SkillType.Area] = true, [SkillType.Multistrikeable] = true, [SkillType.Melee] = true, [SkillType.Physical] = true, }, statDescriptionScope = "skill_stat_descriptions", castTime = 1, baseFlags = { attack = true, area = true, melee = true, }, baseMods = { }, qualityStats = { }, stats = { }, levels = { [1] = {levelRequirement = 68, statInterpolation = , cost = { }, }, }, } skills["AzmeriSwordStormCascade"] = { name = "AzmeriSwordStormCascade", hidden = true, color = 4, baseEffectiveness = 0, incrementalEffectiveness = 0, skillTypes = { [SkillType.Spell] = true, [SkillType.Damage] = true, [SkillType.Area] = true, [SkillType.Fire] = true, [SkillType.Triggerable] = true, [SkillType.AreaSpell] = true, }, statDescriptionScope = "skill_stat_descriptions", castTime = 1, baseFlags = { area = true, spell = true, }, baseMods = { }, qualityStats = { }, stats = { }, levels = { [1] = {levelRequirement = 68, statInterpolation = , cost = { }, }, }, }

Character build code

N/A

Screenshots

SpectreLuaNewAdditionError

nea213 commented 11 months ago

You must add at statInterpolation = curly brackets

from [1] = {levelRequirement = 68, statInterpolation = , cost = { }, },

to [1] = {levelRequirement = 68, statInterpolation = {}, cost = { }, },

Monstarella commented 11 months ago

You must add at statInterpolation = curly brackets

from [1] = {levelRequirement = 68, statInterpolation = , cost = { }, },

to [1] = {levelRequirement = 68, statInterpolation = {}, cost = { }, },

Ah, great. I'll try that. Thanks

Who handles the minion/spectre.lua importing each league?

Wires77 commented 11 months ago

No one, really. There are far too many monsters added each league to add them all, so we usually wait for requests or contributions from the community to add specific ones that they are finding useful.

JhonAlx commented 11 months ago

@Wires77 I was looking to add most if not all of the new corpse spectres but there is something I don't understand and it's how/where do you guys get the statInterpolation numbers from? I was checking other spectre PRs and most of them have it but I'm not sure where it's coming from.

image I don't see those numbers in poedb spectre lua. Any guidance will be appreciated

Wires77 commented 11 months ago

That's exported directly from the game files. See https://github.com/PathOfBuildingCommunity/PathOfBuilding/blob/dev/docs/addingSkills.md for a thorough explanation.

Monstarella commented 11 months ago

@JhonAlx Why are you posting here and not in your own error submission thread?

Monstarella commented 11 months ago

No one, really. There are far too many monsters added each league to add them all, so we usually wait for requests or contributions from the community to add specific ones that they are finding useful.

I'd be happy to try to assist. I am working on a full write-up on the new creatures for summon and I can pull/do the code if there is someone to hotcheck it after. Just let me know what's needed and whats the proper system for ''community member'' additions/assistance.

JhonAlx commented 11 months ago

@JhonAlx Why are you posting here and not in your own error submission thread?

I had this same error when trying to add some of the new minions to my PoB. Nothing wrong with asking

AkumaNoTsubasa commented 11 months ago

Have you had luck in adding the affliction spectres for you? If yes, would you mind to share? I really would like to know if my current spectres are even properly supporting my build or not.