[DiscordArchive] So in this case of creature and target, what class would target be?
[DiscordArchive] So in this case of creature and target, what class would target be?
Archived author: Orion • Posted: 2023-10-16T09:12:09.892000+00:00
Original source
oh. OH!
Archived author: Roboto • Posted: 2023-10-16T09:12:10.281000+00:00
Original source
aye
Archived author: Orion • Posted: 2023-10-16T09:12:19.468000+00:00
Original source
THANKS
Archived author: Roboto • Posted: 2023-10-16T09:12:59.219000+00:00
Original source
I'm not entirely sure if you should return `true` as the first arg though, it might cancel the damage entirely
Archived author: Roboto • Posted: 2023-10-16T09:13:06.606000+00:00
Original source
can't remember from the top of my head
Archived author: Orion • Posted: 2023-10-16T09:13:15.214000+00:00
Original source
Ah, well I'll keep an eye out for that in that case, I'll attempt with both
eemsGood:727158862699823114>
Archived author: Roboto • Posted: 2023-10-16T09:13:21.394000+00:00
Original source
<
eemsGood:727158862699823114>
Archived author: Foe • Posted: 2023-10-16T09:16:53.529000+00:00
Original source
Yeah, return false then new damage
Archived author: Orion • Posted: 2023-10-16T09:23:46.663000+00:00
Original source
Out of curiosity,
In this scenario:
```
local function Nathanos_OnDamageTaken(event, creature, attacker, damage)
if attacker then
return false, damage * DAMAGE_MULTIPLIER
end
end
```
is there NO way to treat the attacker as a player and actually use SendBroadcastMessage?
Archived author: Orion • Posted: 2023-10-16T09:24:21.755000+00:00
Original source
I don't need it specifically for **this**, I'm just curious for future cases and so far it seems that it's not possible