Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] i learned how to do random texts can i do random casts as well ?

[DiscordArchive] i learned how to do random texts can i do random casts as well ?

[DiscordArchive] i learned how to do random texts can i do random casts as well ?

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
05-05-2024, 08:28 PM
#1
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-05-05T20:28:29.580000+00:00
Original source

i learned how to do random texts can i do random casts as well ?
rektbyfaith
05-05-2024, 08:28 PM #1

Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-05-05T20:28:29.580000+00:00
Original source

i learned how to do random texts can i do random casts as well ?

rektbyfaith
Administrator
0
05-05-2024, 08:37 PM
#2
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-05-05T20:37:33.084000+00:00
Original source

local castOptions = { "Prox.CastArcaneExplosion", "Prox.CastConeOfCold" }
local randomIndex = math.random(1, 2)
rektbyfaith
05-05-2024, 08:37 PM #2

Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-05-05T20:37:33.084000+00:00
Original source

local castOptions = { "Prox.CastArcaneExplosion", "Prox.CastConeOfCold" }
local randomIndex = math.random(1, 2)

rektbyfaith
Administrator
0
05-05-2024, 08:37 PM
#3
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-05-05T20:37:39.156000+00:00
Original source

whout this even work
rektbyfaith
05-05-2024, 08:37 PM #3

Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-05-05T20:37:39.156000+00:00
Original source

whout this even work

rektbyfaith
Administrator
0
05-05-2024, 08:38 PM
#4
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-05-05T20:38:42.459000+00:00
Original source

yep got it
rektbyfaith
05-05-2024, 08:38 PM #4

Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-05-05T20:38:42.459000+00:00
Original source

yep got it

rektbyfaith
Administrator
0
05-05-2024, 08:39 PM
#5
Archived author: Honey • Posted: 2024-05-05T20:39:09.270000+00:00
Original source

That or make it a chance, chaining ifs with a fallback.
rektbyfaith
05-05-2024, 08:39 PM #5

Archived author: Honey • Posted: 2024-05-05T20:39:09.270000+00:00
Original source

That or make it a chance, chaining ifs with a fallback.

rektbyfaith
Administrator
0
05-05-2024, 08:40 PM
#6
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-05-05T20:40:33.137000+00:00
Original source

just need to figure out how to make it use the cast timer
rektbyfaith
05-05-2024, 08:40 PM #6

Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-05-05T20:40:33.137000+00:00
Original source

just need to figure out how to make it use the cast timer

rektbyfaith
Administrator
0
05-05-2024, 08:41 PM
#7
Archived author: Honey • Posted: 2024-05-05T20:41:15.264000+00:00
Original source

there's an optinal arg in the CastSpell method. Set it to false.
rektbyfaith
05-05-2024, 08:41 PM #7

Archived author: Honey • Posted: 2024-05-05T20:41:15.264000+00:00
Original source

there's an optinal arg in the CastSpell method. Set it to false.

rektbyfaith
Administrator
0
05-05-2024, 08:41 PM
#8
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-05-05T20:41:21.963000+00:00
Original source

wait nvm it dosent work like that its keep using the last one on the list instead of random
rektbyfaith
05-05-2024, 08:41 PM #8

Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-05-05T20:41:21.963000+00:00
Original source

wait nvm it dosent work like that its keep using the last one on the list instead of random

rektbyfaith
Administrator
0
05-05-2024, 08:41 PM
#9
Archived author: Honey • Posted: 2024-05-05T20:41:29.089000+00:00
Original source

`true` makes the spell triggered, ignoring requirements and making it instant.
rektbyfaith
05-05-2024, 08:41 PM #9

Archived author: Honey • Posted: 2024-05-05T20:41:29.089000+00:00
Original source

`true` makes the spell triggered, ignoring requirements and making it instant.

rektbyfaith
Administrator
0
05-05-2024, 08:47 PM
#10
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-05-05T20:47:38.618000+00:00
Original source

hmm
rektbyfaith
05-05-2024, 08:47 PM #10

Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-05-05T20:47:38.618000+00:00
Original source

hmm

Pages (3): 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)