[DiscordArchive] that looks neat but hows it work? where do i set the max amount of resource for example?
[DiscordArchive] that looks neat but hows it work? where do i set the max amount of resource for example?
![[Image: image.png?ex=690c4360&is=690af1e0&hm=a66...e9a09c0a3&]](https://cdn.discordapp.com/attachments/415944535718494208/1280236470107508806/image.png?ex=690c4360&is=690af1e0&hm=a668096c895b99f70127ee91ca9d14b0046290cbb3e78fe4794bff0e9a09c0a3&)
Archived author: Kebful • Posted: 2024-09-02T18:42:40.109000+00:00
Original source
So right now the alternate bar for Druid is the mana bar. If I want to use let's say Mana still for Druid but modify it differently core-wide to act different but then give it a new name and color.
Let's say I want to use Pain which is the following in my code
![[Image: image.png?ex=690c4360&is=690af1e0&hm=a66...e9a09c0a3&]](https://cdn.discordapp.com/attachments/415944535718494208/1280236470107508806/image.png?ex=690c4360&is=690af1e0&hm=a668096c895b99f70127ee91ca9d14b0046290cbb3e78fe4794bff0e9a09c0a3&)
Archived author: Kebful • Posted: 2024-09-02T18:42:42.452000+00:00
Original source
```ts
let PowerTypes = {
["ENERGY"]: {R : 255, G : 255, B : 0},
["RAGE"]: {R : 255, G : 0, B : 0},
["MANA"]: {R : 0, G : 0, B : 255},
["FOCUS"]: {R : 255, G : 128, B : 64},
["RUNIC_POWER"]: {R : 0, G : 209, B : 255},
["SOUL_SHARDS"]: {R : 128, G : 82, B : 105},
["LUNAR_POWER"]: {R : 77, G : 133, B : 230},
["INSANITY"]: {R : 102, G : 0, B : 204},
["ARCANE_CHARGES"]: {R : 26, G : 26, B : 250},
["FURY"]: {R : 201, G : 66, B : 253},
["PAIN"]: {R : 255, G : 156, B : 0},
["AMMOSLOT"]: {R : 204, G : 153, B : 0},
["FUEL"]: {R : 0, G : 140, B : 128},
}
```
Archived author: Kebful • Posted: 2024-09-02T18:42:47.480000+00:00
Original source
```ts
let AltPowers = {
["DRUID"]: "PAIN"
}
```
![[Image: image.png?ex=690c436d&is=690af1ed&hm=8b8...a345eb3a6&]](https://cdn.discordapp.com/attachments/415944535718494208/1280236524713283695/image.png?ex=690c436d&is=690af1ed&hm=8b89f2a6299bbeb4f31667fe08edd4ef02534a82c5c3c15f3e83e28a345eb3a6&)
Archived author: Kebful • Posted: 2024-09-02T18:42:53.192000+00:00
Original source
![[Image: image.png?ex=690c436d&is=690af1ed&hm=8b8...a345eb3a6&]](https://cdn.discordapp.com/attachments/415944535718494208/1280236524713283695/image.png?ex=690c436d&is=690af1ed&hm=8b89f2a6299bbeb4f31667fe08edd4ef02534a82c5c3c15f3e83e28a345eb3a6&)
Archived author: Kebful • Posted: 2024-09-02T18:42:55.050000+00:00
Original source
Looks like this now.
Archived author: Kebful • Posted: 2024-09-02T18:43:33.125000+00:00
Original source
And any spell that would normally cost mana on your spellbook would have it's tooltip modified to say w.e name you put it. In my case Pain.
Archived author: Kebful • Posted: 2024-09-02T18:44:11.173000+00:00
Original source
Basically still trying to use existing resources but reskin them.
Archived author: Kebful • Posted: 2024-09-02T18:46:51.431000+00:00
Original source
Like just putting Insanity instead of Pain gives me this then
![[Image: image.png?ex=690c445c&is=690af2dc&hm=926...b77f799a9&]](https://cdn.discordapp.com/attachments/415944535718494208/1280237526635778048/image.png?ex=690c445c&is=690af2dc&hm=926fc29cfdf4edb8d89a56bae05d9ed09532402ae08d1db2a6e8bbfb77f799a9&)
Archived author: Kebful • Posted: 2024-09-02T18:46:52.058000+00:00
Original source
![[Image: image.png?ex=690c445c&is=690af2dc&hm=926...b77f799a9&]](https://cdn.discordapp.com/attachments/415944535718494208/1280237526635778048/image.png?ex=690c445c&is=690af2dc&hm=926fc29cfdf4edb8d89a56bae05d9ed09532402ae08d1db2a6e8bbfb77f799a9&)
Archived author: Kebful • Posted: 2024-09-02T18:47:02.522000+00:00
Original source
I hope that sorta answers your question? <:pepe_shrug:1095011462499536927>