
Results 1 to 10 of 12
Thread: Dummy + Script
-->
-->
Hybrid View
-->
-
18-04-09, 03:10 PM #1
Dummy + Script
Hello MMoPro i just finished my Training Dummy Lua script... like 1 month after the Dummy release, i didn't know that i were the first one to make it and release it so its kinda cool lol :P
PHP Code:insert into `creature_names` (`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
values ('NPCID', "Dimmans Training Dummy", "", '', '0', '13', '0', '0', '0', '0', '1555', '0', '0', '0', '1', '1', '0', '0');
insert into `creature_proto` (`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `can_ranged`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `respawntime`, `armor`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`)
values ('NPCID', '1', '1', '7', '6000000', '6000000', '1', '1', '0', '0', '0', '1', '1', '0', '0', '0', '0', '100', '1', '0', '0', '0', '0', '0', '0', '0', '0', "0", '0', '0', '0', '0', '2.50', '8.00', '14.00', '0', '0', '0', '0', '0', '0', '0');
PHP Code:function TrainingDummy_OnSpawn(pUnit,Event)
pUnit:Root(1)
pUnit:SetCombatMeleeCapable(1)
pUnit:SetCombatRangedCapable(1)
pUnit:SetCombatSpellCapable(1)
pUnit:SetCombatCapable(1)
pUnit:CastSpell(1908)
end
pUnit:SendChatMessage(14, 0, "MADE BY «Dimman» @MMoPRO. Do not attemt to change this simple text, if you are changing it it will crash your core and destroy all your scripts with tomatoes ")
end
RegisterUnitEvent(NPCID, 1, "TrainingDummy_OnSpawn")
«Dimman»
Last edited by Dimman; 26-10-09 at 02:37 PM.
No touching please.
-
19-04-09, 10:02 AM #2
nice one =)
Knaur - Founder of Norwegian Elite Team & Creator of Norwegian Elite Databases
-
21-04-09, 12:16 AM #3
Nice
--edit need to spread
-
23-04-09, 07:04 AM #4
-
23-08-09, 09:24 AM #5
Thanks boys 'n' girls
Last edited by Dimman; 25-08-09 at 09:25 AM.
No touching please.
-
26-08-09, 02:23 PM #6
Bump-o-matic
Last edited by Dimman; 26-10-09 at 11:06 AM.
No touching please.
-
26-10-09, 11:18 AM #7
Nice axel its me your little brother ^_^
And we need to talk irl now ! .
-
20-12-09, 02:44 PM #8pUnit:SendChatMessage(14, 0, "MADE BY «Dimman» @MMoPRO. Do not attemt to change this simple text, if you are changing it it will crash your core and destroy all your scripts with tomatoes ")
I lol'd so hard there.
-
28-12-09, 07:45 AM #9