#need help
1 messages · Page 1 of 1 (latest)
@wintry pollen
for (const raceTag of RACE_TAGS) {
if (player.hasTag(raceTag.race)) {
const buff = raceBuffs[raceTag.race];
if (buff) buff(player);
}
}
for some reason its saying im not givign the races a string
but i am
Try console.warn(JSON.stringify(raceTag)) to check what is raceTag
i kinda cant
everything in that folder is typescript
so im converting it
wait actually let me try rq
Are you experienced with TypeScript?
no but im learning
i always get stuck where [ ] ] are placed
in the script it confuses me
where do i put this?