Hi, i try to see how this flag extra 128 work whith spell focus in gameobject type 8.
I need a spell hit on the npc but it dnt work.
I have this for creature
REPLACE INTO
creature_template
(entry
,difficulty_entry_1
,difficulty_entry_2
,difficulty_entry_3
,KillCredit1
,KillCredit2
,modelid1
,modelid2
,modelid3
,modelid4
,name
,subname
,IconName
,gossip_menu_id
,minlevel
,maxlevel
,exp
,faction_A
,faction_H
,npcflag
,speed_walk
,speed_run
,scale
,rank
,mindmg
,maxdmg
,dmgschool
,attackpower
,dmg_multiplier
,baseattacktime
,rangeattacktime
,unit_class
,unit_flags
,unit_flags2
,dynamicflags
,family
,trainer_type
,trainer_spell
,trainer_class
,trainer_race
,minrangedmg
,maxrangedmg
,rangedattackpower
,type
,type_flags
,lootid
,pickpocketloot
,skinloot
,resistance1
,resistance2
,resistance3
,resistance4
,resistance5
,resistance6
,spell1
,spell2
,spell3
,spell4
,spell5
,spell6
,spell7
,spell8
,PetSpellDataId
,VehicleId
,mingold
,maxgold
,AIName
,MovementType
,InhabitType
,HoverHeight
,Health_mod
,Mana_mod
,Armor_mod
,RacialLeader
,questItem1
,questItem2
,questItem3
,questItem4
,questItem5
,questItem6
,movementId
,RegenHealth
,mechanic_immune_mask
,flags_extra
,ScriptName
,WDBVerified
) VALUES (36123, 0, 0, 0, 0, 0, 16480, 19595, 0, 0, ‘Fertile Mound Bunny’, ‘’, ‘’, 0, 60, 60, 0, 35, 35, 0, 1, 1.14286, 1, 0, 197.6, 262.2, 0, 479, 1, 2000, 2000, 1, 33554688, 2048, 2048, 0, 0, 0, 0, 0, 136.8, 201.4, 34, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘SmartAI’, 0, 3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 128, ‘’, 1);
And this for gameobject
REPLACE INTO
gameobject_template
(entry
,type
,displayId
,name
,IconName
,castBarCaption
,unk1
,faction
,flags
,size
,questItem1
,questItem2
,questItem3
,questItem4
,questItem5
,questItem6
,data0
,data1
,data2
,data3
,data4
,data5
,data6
,data7
,data8
,data9
,data10
,data11
,data12
,data13
,data14
,data15
,data16
,data17
,data18
,data19
,data20
,data21
,data22
,data23
,AIName
,ScriptName
,WDBVerified
) VALUES (195687, 8, 7297, ‘Fertile Mound’, ‘’, ‘’, ‘’, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1631, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘’, ‘’, 13329);
Also ofcourse i added line to give kill credit in smart_scripts whith target 7.