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!
Currently, I am trying to get wastewalker Workers to use the mining emote when out of combat.
I am currently trying this to no avail.
-- Wastewalker Worker SAI
SET @ENTRY := 17964;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`[email protected];
DELETE FROM `smart_scripts` WHERE `entryorguid`[email protected] AND `source_type`=0;
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
(@ENTRY,0,0,0,1,0,100,6,0,0,0,0,17,233,0,0,0,0,0,0,0,0,0,0,0,0,0,"Wastewalker Worker - Out of Combat - Set Emote State 233 (Dungeon)"),
(@ENTRY,0,1,0,0,0,100,4,2300,7700,8000,11000,11,37662,32,0,0,0,0,5,0,0,0,0,0,0,0,"Wastewalker Worker - In Combat - Cast 'Rend' (Heroic Dungeon)"),
(@ENTRY,0,2,0,2,0,100,7,0,15,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Wastewalker Worker - Between 0-15% Health - Flee For Assist (No Repeat) (Dungeon)"),
Edit: It appears to work in normal (not sure if that is from me), but not heroic. I tried copying the same smart_script with the heroic entry ID and that didn't work.
I've been thinking, after I saw this introduction in the spanish part of the forum, this guy who wants to help out in any way he can... Given the fact that he didn't specify if he has any knowledge in developing of any kind the first thing I thought was in the missing gossip.
But then again, there's nowhere to post that in spanish, if there are users that can't understand/speak english.
Maybe we could make a "Help us gather missing gossip" kindda post but translated in spanish and pin it on the localized forums.
You could also do the same with the "Converting EAI to SAI", because I know there are a lot of developers out there that know how to do it but don't speak english at all.
Just something to think about, if you ask me this would be very efficient and "welcoming" for hispanic people (of course it could/should be done in all the other languages).
I myself could help out in the spanish and portuguese sections.