- Joined
- Nov 16, 2019
- Messages
- 22
Hey guys here is my first bomb which i make with MMOItems.
First i has setup the Throwbomb Skill in MythicMobs:
Second i register this skill in MMOItems by creating a file called ThrowBomb.yml in the folder plugins\MMOItems\dynamic\mythic-mobs-abilities
Here is the Content:
So why i has set Damage 0?
First the placeholder <mmoitems.skill.ThrowBomb.damage> does not work jet in MythicMobs for MMitems to set your own damage. So the damage is a range from 5 to 10
At the last i Create the Item Ingame and setup the ThrowBomb ability
At the End the file content is so:

Great look i think
First i has setup the Throwbomb Skill in MythicMobs:
Code:
ThrowBomb:
Skills:
- projectile{bulletType=item;material=FIRE_CHARGE;onTick=ThrowBomb-Tick;onEnd=ThrowBomb-End;sB=true;hNp=true;onHit=ThrowBomb-Hit;v=10;i=1;hR=1;vR=4;vO=1;syo=1;g=0.8} @TargetLocation
ThrowBomb-Tick:
Skills:
- effect:particles{p=smoke;a=10;r=0.5} @origin
ThrowBomb-Hit:
Skills:
- damage{a=5to10}
- potion{type=Poison;duration=100;l=1}
- explosion{bd=false;yield=2} @target
ThrowBomb-End:
Skills:
- explosion{bd=false;yield=2} @Origin
Second i register this skill in MMOItems by creating a file called ThrowBomb.yml in the folder plugins\MMOItems\dynamic\mythic-mobs-abilities
Here is the Content:
Code:
# The internal name of the MM skill.
mythicmobs-skill-id: ThrowBomb
# Ability name displayed in lore.
name: ThrowBomb
# Ability Modifiers (default values).
cooldown: 10
damage: 0
So why i has set Damage 0?
First the placeholder <mmoitems.skill.ThrowBomb.damage> does not work jet in MythicMobs for MMitems to set your own damage. So the damage is a range from 5 to 10
At the last i Create the Item Ingame and setup the ThrowBomb ability
At the End the file content is so:
Code:
SMALLGRENADE:
material: FIRE_CHARGE
name: '&fSmall Grenade'
lore:
- A Small handgrenade that
- poisons the Enemy and explode on it
- 'Damage: §25-10'
tier: COMMON
ability:
ability1:
type: THROWBOMB
mode: RIGHT_CLICK
cooldown: 10.0
item-cooldown: 10.0



Great look i think