[DiscordArchive] SmartAI or Scritped?
[DiscordArchive] SmartAI or Scritped?
Archived author: H0lysp4nk • Posted: 2020-05-11T19:17:45.217000+00:00
Original source
I can take a look if you want
Archived author: Kitzunu • Posted: 2020-05-11T19:19:39.769000+00:00
Original source
```sql
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 30837);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(30837, 0, 0, 0, 1, 0, 100, 0, 4000, 4000, 1000, 1000, 0, 11, 57930, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Defense System - Out of Combat - Cast \'Arcane Lightning\''),
(30837, 0, 1, 0, 1, 0, 100, 2, 4000, 4000, 0, 0, 0, 11, 58152, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Defense System - Out of Combat - Cast \'Arcane Lightning\' (Normal Dungeon)'),
(30837, 0, 2, 0, 1, 0, 100, 2, 4000, 4000, 1000, 1000, 0, 11, 57912, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Defense System - Out of Combat - Cast \'Arcane Lightning\' (Normal Dungeon)');
```
Archived author: Kitzunu • Posted: 2020-05-11T19:19:43.412000+00:00
Original source
is what I have atm
Archived author: H0lysp4nk • Posted: 2020-05-11T19:20:50.232000+00:00
Original source
ok
Archived author: Kitzunu • Posted: 2020-05-11T19:21:06.472000+00:00
Original source
it's the last line that has the spell that dont want to repeat
Archived author: Kitzunu • Posted: 2020-05-11T19:21:40.459000+00:00
Original source
You know more CPP than me, perhaps you could see if you can make the spell be used every 1 seconds there.
Maybe it is some SAI issue
Archived author: H0lysp4nk • Posted: 2020-05-11T19:22:06.507000+00:00
Original source
Maybe, I'll take a look
Archived author: Kitzunu • Posted: 2020-05-11T19:22:14.097000+00:00
Original source
ty
Archived author: H0lysp4nk • Posted: 2020-05-11T19:41:33.846000+00:00
Original source
Don't see anything obviously wrong, tempted to say it might be something weird with the spell itself?
Archived author: Kitzunu • Posted: 2020-05-11T19:42:17.985000+00:00
Original source
perhaps