[DiscordArchive] <@278884041556754432> why make this crash for me?
[DiscordArchive] <@278884041556754432> why make this crash for me?
Archived author: DioHun • Posted: 2024-08-01T06:06:13.457000+00:00
Original source
<@278884041556754432> why make this crash for me?
Archived author: DioHun • Posted: 2024-08-01T06:06:15.119000+00:00
Original source
https://pastebin.com/5xuE47s3
[Embed: // 261654 spellclass spell_warboard_alliance : public SpellScript{ ...]
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
https://pastebin.com/5xuE47s3
Archived author: DioHun • Posted: 2024-08-01T06:06:32.517000+00:00
Original source
GetHitUnit make crash
Archived author: Northstrider • Posted: 2024-08-01T06:08:05.927000+00:00
Original source
because obviously the spell did not hit a unit. check the spell effect's target types
Archived author: Northstrider • Posted: 2024-08-01T06:09:08.857000+00:00
Original source
it says target_unit_caster so if the board is casting the spell, there is no hit unit
Archived author: Northstrider • Posted: 2024-08-01T06:09:26.438000+00:00
Original source
so you screwed up your gameobject implementation of casting the spell
Archived author: DioHun • Posted: 2024-08-01T06:10:02.901000+00:00
Original source
the target the player, and have just dummy effect
Archived author: DioHun • Posted: 2024-08-01T06:10:17.873000+00:00
Original source
this is the callboard spell
Archived author: Northstrider • Posted: 2024-08-01T06:10:24.523000+00:00
Original source
the board spell should be casted by the player, not the board. that's your mistake
Archived author: DioHun • Posted: 2024-08-01T06:11:11.546000+00:00
Original source
so the gethitunit wrong in this code