[Question] ItemGroup

Results 1 to 3 of 3
  1. #1
    Valued Member alesandro676 is offline
    MemberRank
    Jan 2008 Join Date
    140Posts

    [Question] ItemGroup

    Hello, I've been trying to add specific amount of geons and deciding what a mob would drop..
    But I don't get it, I've searched for an explaination and I understood it, but didn't know how it applies...
    so let's take an example:
    PHP Code:
    Wild Small Demon from InitMonster.txt
    Wild Small Demon
    (monster (name 5) (index 5) (country 2) (race 0) (level 6) (ai 1) (range 16) (sight 160 240) (exp 12)  (itemgroup 5 2)   
      (
    str 36) (hth 5) (int 10) (wis 10) (dex 10) (hp 19) (mp 70) (aspeed 1600) (hit 5) (dodge 0)  
      (
    attack 0 13 13) (magic 0 0) (defense 5 5) (absorb 0) (mspeed 1600 800) (resist 1 1 3 3 3)
      (
    quest (3 1 902 1) (8001 1 933 1))) 
    5 2 stands for what? index?name? what is it?

    Explainations and examples would be so helpfull...

    Thanks for your time and patience.


  2. #2
    Helper ! xhethx is offline
    MemberRank
    Jun 2010 Join Date
    BahrainLocation
    787Posts

    Re: [Question] ItemGroup

    hi ..

    and lets start :D
    the intmonster is
    Wild Small Demon from InitMonster.txt
    ; Wild Small Demon
    (monster (name 5) (index 5) (country 2) (race 0) (level 6) (ai 1) (range 16) (sight 160 240) (exp 12) (itemgroup 5 2)
    (str 36) (hth 5) (int 10) (wis 10) (dex 10) (hp 19) (mp 70) (aspeed 1600) (hit 5) (dodge 0)
    (attack 0 13 13) (magic 0 0) (defense 5 5) (absorb 0) (mspeed 1600 800) (resist 1 1 3 3 3)
    (quest (3 1 902 1) (8001 1 933 1)))

    right !!

    now we will go to itemgroup
    add this at itemgroup !!
    for example
    (group (index 6004) (money (900 370)))

    index is random
    red = 90%
    blue = how many geon drop 370 = 370geon


    ----------------------------------------
    (monster (name 5) (index 5) (country 2) (race 0) (level 6) (ai 1) (range 16) (sight 160 240) (exp 12) (itemgroup 1000 2)
    (str 36) (hth 5) (int 10) (wis 10) (dex 10) (hp 19) (mp 70) (aspeed 1600) (hit 5) (dodge 0)
    (attack 0 13 13) (magic 0 0) (defense 5 5) (absorb 0) (mspeed 1600 800) (resist 1 1 3 3 3)
    (quest (3 1 902 1) (8001 1 933 1) )

    i change number of itemgroup for example only :D
    now add this at itemgroup [ we will now add geons at mob ]

    ;Wild Small Demon
    (itemgroup (index 1000) (group (500 6004)))

    red = the itemgroup at intmonster [ (itemgroup 1000 2) ]
    blue = Rate 50% .. [ 500 = 50% ]
    green = index of money group

    done !
    restart the server
    and have fun

    Oh my god i tired !!!!!!!!!!!!!!! [joke] ^^
    Cya
    Last edited by xhethx; 01-06-12 at 10:45 PM.

  3. #3
    Valued Member alesandro676 is offline
    MemberRank
    Jan 2008 Join Date
    140Posts

    Re: [Question] ItemGroup

    Understood.
    Thank you so much heth :D



Advertisement