Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: doresain on February 15, 2012, 09:50:33 pm

Title: [SOLVED] [SPELL.DBC] Apply Aura: Change Model problem
Post by: doresain on February 15, 2012, 09:50:33 pm
i need to create a spell like http://www.wowhead.com/spell=47457 (http://www.wowhead.com/spell=47457" onclick="window.open(this.href);return false;) for my worgen race, it works but value in column [111] doesn't match with creaturedisplayinfo.dbc
original spell has [111]26390 that points at 11179 in creaturedisplayinfo.dbc
i need the [111] value to point at a custom creatudedisplayinfo, but i don't want to edit 11179 displayid
http://www.pxr.dk/wowdev/wiki/index.php?title=Spell.dbc (http://www.pxr.dk/wowdev/wiki/index.php?title=Spell.dbc" onclick="window.open(this.href);return false;)
Title: Re: [SPELL.DBC] Apply Aura: Change Model problem
Post by: Laniax on February 15, 2012, 10:24:50 pm
If i'm not mistaken, that value actually points to a real creature, which model is then used.
Title: Re: [SPELL.DBC] Apply Aura: Change Model problem
Post by: doresain on February 15, 2012, 10:32:01 pm
http://www.wowhead.com/npc=26390 (http://www.wowhead.com/npc=26390" onclick="window.open(this.href);return false;) no it isn't

edit: you're right, it's a fucking model in creature_template, thanks :D
Code: [Select]
NSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `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`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `vehicle_id`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES
(26390, 0, 0, 0, 0, 0, 11179, 0, 0, 0, 'Transformed Trapper Male', '', '', 0, 1, 1, 1, 1, 0, 0, 7, 35, 35, 0, 1, 1.14286, 1, 0, 2, 2, 0, 24, 1, 2000, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '');