Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nibelung Valkyrs Autohitting #3280

Closed
Squiria opened this issue Sep 30, 2011 · 10 comments
Closed

Nibelung Valkyrs Autohitting #3280

Squiria opened this issue Sep 30, 2011 · 10 comments
Assignees

Comments

@Squiria
Copy link

Squiria commented Sep 30, 2011

http://www.wowhead.com/item=49992 Nibelung
and
http://www.wowhead.com/item=50648 Nibelung Heroic
are spawning Valkyrs (38391 / 38392 hero) on proc (around 2%).
As stated here http://www.wowhead.com/item=49992#comments:id=911542 they should walk in to the range and cast Smite (71841 / 71842 hero) untill they disappear after 30 sec.

At the moment, they are summoned, walk to the target and hit him. With about 1000 damage in the normal and 1 damge in the heroic version.
They should have an smartscript as far as i found here
00c28e3
and here
0704f03
with the proper spells. However, the debuglog is spammed with
ERROR: SmartScript::InstallTemplate: Entry 38391 SourceType 0 AI Template can not be set more then once, skipped.
while they spawn or reset and they behave as discribed above.

OpenSSL 1.0.0c 2 Dec 2010 (Library: OpenSSL 1.0.0c 2 Dec 2010)
Using ACE: 5.8.3
TrinityCore rev. 2011-09-28 18:59:55 +0200 (8dd88fa) (Win32, Release)
Using World DB: TDB 335.11.42
Using creature EventAI: TDBAI 335.0.3

@DarkS1de
Copy link

Confirmed
Nibelung Valkyrs dont cast spell and melee damage is 2-4.

@kaelima
Copy link
Contributor

kaelima commented Oct 25, 2011

Argh someone set template on reset event. That caster template needs some love, dont think its even working

@ultimatexemnas
Copy link

Nibelung can summon two valkyr:one with 17hp e 6k mana that cast smite(1400 damage) and another one with 17-20k hp but without mana (2 melee damage).Also valkyr will attack enemies only if they are taunted o hitted by an attack

@Jildor
Copy link
Contributor

Jildor commented Dec 8, 2011

Confirm, I think action type 58 not works.

@telsamat
Copy link

telsamat commented Mar 5, 2012

any news about it or temp fix?

@maxxx
Copy link

maxxx commented Jun 20, 2012

working on last revs, but need UPDATE spell_proc_event SET SchooMask='0' WHERE (entry='71845'); Heroic not tested, may be need entry in spell_proc_event. NPC 38392 has bugged creature_template data

@digz6666
Copy link

Confirmed!

@wkoot
Copy link

wkoot commented Mar 17, 2013

To fix the heroic version (Val'kyr Protector) melee hits, apply this:

-- Damage values are (Val'kyr Guardian * 1.4). AP and dynamicflags are same as on Val'kyr Guardian
UPDATE `creature_template`
SET `mindmg` = 2227 , `maxdmg` = 2499, `attackpower` = 642, `minrangedmg` = 483, `maxrangedmg` = 712, `rangedattackpower` = 103, `dynamicflags` = 8
WHERE `entry` = 38392;

@malcrom
Copy link
Contributor

malcrom commented Dec 4, 2013

Try this

-- Val'kyr Guardian SAI
SET @ENTRY := 38391;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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,0,0,100,0,1500,2500,1500,2500,11,71841,0,0,0,0,0,2,0,0,0,0,0,0,0,"Val'kyr Guardian - Combat - Cast Smite every 1.5/2.5 seconds");

-- Val'kyr Protector SAI
SET @ENTRY := 38392;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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,0,0,100,0,1500,2500,1500,2500,11,71842,0,0,0,0,0,2,0,0,0,0,0,0,0,"Val'kyr Protector - Combat - Cast Smite every 1.5/2.5 seconds");

@malcrom malcrom closed this as completed in 067f0f9 Dec 5, 2013
@wkoot
Copy link

wkoot commented Dec 5, 2013

Shouldn't they do both melee and smite?

raczman pushed a commit to raczman/TrinityCore that referenced this issue Apr 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants