Skip to content

Commit

Permalink
fix: syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Sicdex committed Nov 27, 2024
1 parent 58748ce commit a819266
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wrapper/Objects/Heroes/npc_dota_hero_spectre.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ export class npc_dota_hero_spectre extends Hero {
public CalculateActivityModifiers(activity: GameActivity, ar: string[]): void {
super.CalculateActivityModifiers(activity, ar)
if (this.MyWearables.some(wearable => wearable.ItemDefinitionIndex === 9662)) {
if (this.Level >= 22) { ar.push("daggers_5") }
if (this.Level >= 22) {
ar.push("daggers_5")
} else if (this.Level >= 15) {
ar.push("daggers_4")
} else if (this.Level >= 8) {
Expand Down

0 comments on commit a819266

Please sign in to comment.