Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 11 to 12 of 12

Thread: Dummy + Script

Threaded View

  1. #1
    Elite Member
    Dimman's Avatar
    Join Date
    Apr 2009
    Posts
    1,091
    Post Thanks / Like
    Rep Power
    21
    Reputation
    319

    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(140"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
    (NPCID1"TrainingDummy_OnSpawn"





    «Dimman»
    Last edited by Dimman; 26-10-09 at 02:37 PM.
    No touching please.



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

 

 

Visitors found this page by searching for:

mangos combat dummy script

SEO Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 11:44 AM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org