Jump to content


Photo

mobs killed add drops in e.a.


  • Please log in to reply
2 replies to this topic

#1 ucell_uz

ucell_uz

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • Github:https://github.com/HerculesWS/Hercules

Posted 17 May 2017 - 03:02 PM

hi all! need your help, help me with dropouts.

It is necessary to make, that at murder of a mob of a poring 3 apples fell out

And when killing the mobs Drops, to drop 8 apples

 

How to implement it correctly?

 

i used hercules version 2015 libc 1.4.9

 

my db 

 

Spoiler

 

please help out!

 

killing mob Poring - add 3 apple

killing mob Drops -  add 8 apple


Edited by ucell_uz, 17 May 2017 - 03:07 PM.


#2 meko

meko

    Advanced Member

  • Core Developers
  • 52 posts
  • IRC Nickname:meko

Posted 17 May 2017 - 03:11 PM

Just add more Apple in the Drops{} section of the Poring. You can have a maximum of 10 drops per monster, so you will have to remove some existing drops if you want 8 apples.


  Want faster replies? try live support


#3 ucell_uz

ucell_uz

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • Github:https://github.com/HerculesWS/Hercules

Posted 17 May 2017 - 03:40 PM

Just add more Apple in the Drops{} section of the Poring. You can have a maximum of 10 drops per monster, so you will have to remove some existing drops if you want 8 apples.

 

please Give an example?

Not strong in scripting

thx!

 

Spoiler
 
oy! sorry my)
i find
 
Spoiler

{
    Id: 1002
    SpriteName: "PORING"
    Name: "Poring"
    Lv: 1
    Hp: 60
    Sp: 1
    Exp: 36
    JExp: 20
    AttackRange: 1
    Attack: [8, 1]
    Def: 2
    Mdef: 5
    Stats: {
        Str: 6
        Agi: 1
        Vit: 1
        Int: 0
        Dex: 6
        Luk: 5
    }
    ViewRange: 10
    ChaseRange: 12
    Size: 1
    Race: 3
    Element: (1, 1)
    Mode: {
        CanMove: true
        Looter: true
        CanAttack: true
    }
    MoveSpeed: 400
    AttackDelay: 1872
    AttackMotion: 672
    DamageMotion: 480
    MvpExp: 0
    Drops: {
        Jellopy: 7000
        Knife_: 100
        Sticky_Mucus: 400
        Apple: 1000
        Empty_Bottle: 1500
        Apple: 150
        Unripe_Apple: 20
        Poring_Card: 1
    }
},
 

Edited by ucell_uz, 17 May 2017 - 03:53 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


This topic has been visited by 17 user(s)