Bug Closed · Resolved

MMOITEMS amount not with FANCYDROP

#4794 opened by Unknown 2 years ago

Unknownreported this bug

Summary

Describe the bug encountered in detail.

Steps to reproduce

Provide a full set of steps used to reproduce the bug, including links to SEPARATE Pastebin pastes for each relevant configuration file.

Current behavior

When I kill the mob it will always only drop 1 of the item no matter how much I enter in the config.

Intended correct behavior

When I make - mmoitems{type=MATERIAL;id=COW_HIDE;hn=true;ig=true} 2 1 it should 2 of the MMOITEM, but no matter how much I enter it will always only drop 1

Server log file

https://mclo.gs/47V9QF2

Debug log snippet

https://pastebin.com/5g8CK8KM

Proposed fixes

When you enter a number or do 1-20 or do 1to20 it should take the amount

Unknowncommented
ShorehavenCow:
  Type: COW
  Display: '&7Shorehavens Cow '
  Health: 30
  Damage: 2
  Options:
    PreventOtherDrops: true
    MovementSpeed: 0.2
    AlwaysShowName: true
  DropOptions:
    DropMethod: FANCY  
    PerPlayerDrops: true
    ClientSideDrops: true
  AIGoalSelectors:
  - clear  
  - goToSpawn{speed=1;max=40;min=4}
  - fleeplayers
  Skills:
  - setname{name=&8[&41&8] &b<caster.name> &4❤ &c<caster.hp>;delay=2} @self ~onSpawn  
  - setname{name=&8[&41&8] &b<caster.name> &4❤ &c<caster.hp>;delay=2} @self ~onDamaged 
  Drops:
  - mmoitems{type=FOOD;id=RAW_STEAK;hn=true;ig=true} 1 1
  - mmoitems{type=MATERIAL;id=COW_HIDE;hn=true;ig=true} 1 1
  - mmoitems{type=MATERIAL;id=COW_HIDE;hn=true;ig=true} 1 0.5 

mob file

Sign in to join the discussion.