PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

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

Offen
#6,980 9 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug: behaviour
Vorherrschende Sprache
Lua
Sterne
5.4k
Forks
2.4k
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
26

Beschreibung

Check version
  • I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
  • I've checked for duplicate issues by using the search function of the issue tracker
Check for support
  • I've checked that the behaviour is supposed to be supported. If it isn't please open a feature request instead (Red text is a feature request).
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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne bei den Minion- und Skill-Definitionen in Spectre.lua und reproduziere den Startfehler mit den Perfect Dancing Sword-Tabellen aus dem Issue. Überprüfe die Syntax der eingefügten Tabelle und die referenzierten Skill-Einträge. Verifiziere anschließend, dass Path of Building startet und die neuen Spectre-Daten ohne Fehler geladen werden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
lua
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.