PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

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

オープン
#6,980 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug: behaviour
主要言語
Lua
スター
5.4k
フォーク
2.4k
平均マージ
1日 12時間
マージ済み PR(30日)
26

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Spectre.lua の minion および skill の定義から始め、issue にある Perfect Dancing Sword のテーブルを使って起動エラーを再現します。挿入されたテーブルの構文と参照されている skill エントリを確認し、その後 Path of Building が起動し、新しい spectre データがエラーなしで読み込まれることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
lua
領域
tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。