Search the Community
Showing results for tags 'smartai'.
Found 3 results
Hello and thanks for the reading first, i would love to know if there's a way to make a certain SmartScript force a player to cast certain Spell. I know there's a possibility of put and remove auras and sometimes the same Spell can be used as Aura to force the debuff of the same spell but i would like to know if there's a possibility to do this without need to do an scriptname. I used this as guide along this years: https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130108/smart+scripts I searched a bit for the TrinityCore issue tracker about this and didn't found anything useful about the question itself. Thanks for reading!
Hi ! I'm using last version of 3.3.5 TC branch (with TDB 335.19061), and we have an issue with the mage lvl 20 class quest (Investigate the Alchemist Shop). This bug has been reported and partially fixed by different people, as seen on this github page : https://github.com/TrinityCore/TrinityCore/issues/18997 I tried to re-apply this : https://github.com/TrinityCore/TrinityCore/commit/aadd58284e94bc70c96244b61c3933db2211fed1 The ghosts are now selectable but the box cannot be placed neither. Conclusion : at the moment, this quest is supposed to be fixed in #9717, but there are still problems with it. A c++ rewrite has even be proposed in 2014. This seems to be tricky though. Anyone here could maybe help me about it ? I'm trying to fix it for 3 days by myself, and quite confused now... Thanks in advance
Hello, I'm trying to get the hang of SmartAI but it's proving to be difficult. Starting with someone easy, I picked a random npc (Jaina, entry id 35320) and doing event is on recieve_emote (id 17, which is kiss) the action is DIE (37) And target self. UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 35320; DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 35320); 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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (35320, 0, 0, 0, 22, 0, 100, 0, 17, 0, 0, 0, 37, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lady Jaina Proudmoore - Received Emote 17 - Kill Self'); But the problem is that it doesn't work. I've resspawned her, restarted the server but she still doesn't die. Any help would be most appreciated. Thanks!