PDA

View Full Version : Dummy + Script



Dimman
18-04-09, 04:10 PM
http://i387.photobucket.com/albums/oo316/acke123/dimman3.jpg
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


http://i387.photobucket.com/albums/oo316/acke123/Dimmansql.jpg

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');


http://i387.photobucket.com/albums/oo316/acke123/Dimmanlua-1.jpg

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")



http://i387.photobucket.com/albums/oo316/acke123/Dimmandownloadcopy.jpg
«Dimman» (http://www.mmopro.net/forums/members/-dimman-.html)

Knaur
19-04-09, 11:02 AM
nice one =)

runiker
21-04-09, 01:16 AM
Nice +rep

--edit need to spread

Moridin
23-04-09, 08:04 AM
nice thank you

Dimman
23-08-09, 10:24 AM
Thanks boys 'n' girls :D:D

Dimman
26-08-09, 03:23 PM
Bump-o-matic

♥Siberia♥
26-10-09, 12:18 PM
Nice axel its me your little brother ^_^

And we need to talk irl now ! .


+rep

Dimman
26-10-09, 12:21 PM
Nice axel its me your little brother ^_^

And we need to talk irl now ! .


+rep

WTF ? lol hi yes but im not going to be home tonight, anyway are you on my computer ?
:rolleyes:

♥Siberia♥
26-10-09, 12:49 PM
yes i am ! ur pass is ur girlfriend's name -.- retard :D

Btw could you make me a signature when ur back home ? :confused:

Thx :D

Dimman
27-10-09, 03:41 AM
YEs i will but try stay on topic XD
________________________________

Thanks for the +rep bro .

Paradox
20-12-09, 03:44 PM
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 ")

I lol'd so hard there.

Dimman
28-12-09, 08:45 AM
I lol'd so hard there.
[/COLOR][/COLOR]

Awesomesauce credz :) ;)