Results 1 to 10 of 12
Thread: Dummy + Script
-
18-04-09, 04:10 PM #1
Dummy + Script
Register to remove this ad
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 03:37 PM.
No touching please.
-
19-04-09, 11:02 AM #2
nice one =)
Knaur - Founder of Norwegian Elite Team & Creator of Norwegian Elite Databases
-
21-04-09, 01:16 AM #3
-
23-04-09, 08:04 AM #4Beginner

- Join Date
- Apr 2009
- Posts
- 8
- Rep Power
- 17
- Reputation
- 1
nice thank you
-
23-08-09, 10:24 AM #5
Thanks boys 'n' girls

Last edited by Dimman; 25-08-09 at 10:25 AM.
No touching please.
-
26-08-09, 03:23 PM #6
Bump-o-matic
Last edited by Dimman; 26-10-09 at 12:06 PM.
No touching please.
-
26-10-09, 12:18 PM #7Beginner

- Join Date
- Oct 2009
- Posts
- 4
- Rep Power
- 17
- Reputation
- 2
Nice axel its me your little brother ^_^
And we need to talk irl now ! .
-
26-10-09, 12:21 PM #8
-
26-10-09, 12:49 PM #9Beginner

- Join Date
- Oct 2009
- Posts
- 4
- Rep Power
- 17
- Reputation
- 2
yes i am ! ur pass is ur girlfriend's name -.- retard

Btw could you make me a signature when ur back home ?
Thx
-
27-10-09, 03:41 AM #10
Register to remove this adYEs i will but try stay on topic XD
________________________________
Thanks for the
bro .
Last edited by Dimman; 01-11-09 at 12:41 PM.
No touching please.






Reply With Quote



runiker







