What's new

I can't make it work

Heertz

New Member
Joined
Mar 19, 2017
Messages
9
Hey, I'm really tired of the things that don't work on 1.8.8, but I'm trying to give the plugin a second chance :)

I realized that damage-option doesn't work on 1.8.8 (as "MovementSpeed", "AttackSpeed", and more)
That problem can be fixed by using skill "damage{amount=#} @Target ~onAttack"

Well, everything is okay until you want to use WorldScaling D:
I didn't want to because PowerLevels doesn't have a custom factor so I had to do this:
Mythicmobs/Mobs/monsters.yml
Mythicmobs/RandomSpawns/monsterspawns.yml

What's the problem now? Mobs with level 1 are spawning around de world (even with that low priority)
And when I do /mm mobs spawn CustomZombie10 (supposed to be Level 10) it spawns with lvl 0
I have tried to put priorities and that didn't work :(

Sorry for my english!
Regards!
 

Heertz

New Member
Joined
Mar 19, 2017
Messages
9
CustomZombie10 is actually a mob with level 10 (doesn't work)
See:

CustomZombie10:
Damage: 11
Display: "&cZombie &6[Lv. <mob.level>]"
Health: 20
MobType: Zombie
LevelModifiers:
Health: 2
Damage: 2
Skill:
- damage{amount=11;pkb=true} @Target ~onAttack
- setlevel{a=set;l=10} ~onSpawn
DropsPerLevel:
- exp 1-3 0.5
 

muhahahahe

Well-Known Member
Supporter
Quality Assurance
Joined
Mar 16, 2017
Messages
982
hey Heertz, i think i know where the problem is

u cant use lvl modifier cause of custom damage values
so u cant spawn them with this command:
/mm mobs spawn CustomZombie:10 1 (u could but it wouldnt work properly

so as u are creating your own lvl mobs just give them the lvl hardcoded
and all attributes that should change u have to determine right
like this:

CustomZombie10:
Damage: 11
Display: "&cZombie &6[Lv. 10]"
Health: 40
MobType: Zombie
LevelModifiers: <<< no need for this get rid of it, u cant scale them in ur version, cause of custom damage value
Health: 2
Damage: 2


its impossible to let MM select ur level cause u r not spawning a Lvl 10 CustomZombie u r spawning a CustomZombie10 and he is unscaled lvl 0

this should work around, but i have another question

why cant u upgrade ur server? there is much more flexibility in the newer versions and no need for custom damage

hope i could help

*edit*

also as u discribed the mob spawns lvl 0 this also isnt working - setlevel{a=set;l=10} ~onSpawn

i checked out ur file and u NEED to EXACTLY define everything that the mob has at this lvl for example ur scaling on the zombie is 2 Health per lvl so ur CustomZombie10 should have Health at 40

also with this ur world spawn scaling will never work, it would spawn leveled mobs but it would spawn a CustomZombie1 at lvl10 with the right health of 40 but the damage would still be the same as if it is lvl 0 cause damage value is fixed with the custom damage attribute
 
Last edited:

muhahahahe

Well-Known Member
Supporter
Quality Assurance
Joined
Mar 16, 2017
Messages
982
Hey Heertz,
i thought another time about this, cause complicated things dont leave my head easily.

if u get this to work:

- setlevel{a=set;l=1} ~onSpawn maybe try ADD not SET

u can try something really experimental:

Code:
- setlevel(a=add;l=GET_LVL} ~onSpawn
GET_LVL: 0+<mob.level>

i dont know if u can do math with MM im also new to it

the whole thing for the CustomZombie should look like this:

Code:
CustomZombie:
  Display: "&cZombie &6[Lv. <mob.level>]"
  Health: 20
  MobType: Zombie
  LevelModifiers:
    Health: 2
  Skill:
  - damage{amount=GET_DMG;pkb=true} @Target ~onAttack
  - setlevel{a=add;l=GET_LVL} ~onSpawn
  DropsPerLevel:
  - exp 1-3 0.5
  GET_DMG: 2+(<mob.level>*2)
  GET_LVL: 0+<mob.level>

besides damage the other values should scale normal so no need to change them

if this works u can get rid of the other mobs from 1-10 and make the same changes for the rest

Happy Trying *fingers crossed*
 

muhahahahe

Well-Known Member
Supporter
Quality Assurance
Joined
Mar 16, 2017
Messages
982
Sry cant edit anymore,

Tested it it didtn work u cant do math like this

maybe someone else knows how to

the other work around should do it but u cant use world scaling spawn with this u have to place spawners all over the world o_O
 
Last edited:

Heertz

New Member
Joined
Mar 19, 2017
Messages
9
@muhahahahe Heey! Thanks for taking a look at my problem :D
I'm not updating because I have a network with 1.7-1.11.2 support and there are servers for 1.7, 1.7-1.8, 1.10-1.11.2 and 1.8-1.11.2
Yes, a lot of work :S

I'll try to do something like this and see what happens:
Code:
CustomZombie:
  Display: "&cZombie &6[Lv. 1]"
  Health: 20
  MobType: Zombie
  Skill:
  - damage{amount=2;pkb=true} @Target ~onAttack
  DropsPerLevel:
  - exp 1-3 0.5
CustomZombie10:
  Display: "&cZombie &6[Lv. 10]"
  Health: 40
  MobType: Zombie
  Skill:
  - damage{amount=11;pkb=true} @Target ~onAttack
  DropsPerLevel:
  - exp 1-3 0.5
 

muhahahahe

Well-Known Member
Supporter
Quality Assurance
Joined
Mar 16, 2017
Messages
982
Hey Heertz,
first of all u also need to set the exact drops the mob will give at this specific lvl, like i said scaling wont work in ur situation, change everything that uses scaling and make it fix

next question is: Do u have vanilla mob spawning enabled in this world?

if so, u can trick around with randomspawners

make a new file located in the directory Spawners

Code:
CustomZombie:
  Mobname:CustomZombie
  Worlds: WORLDNAME
  Chance: 0.01 set it as needed, if set to 1 every mob will be replaced by MM (if it is the same MobType)
  Priority: 1
  SpawnMethod: replace
  Conditions:
  - distancefromspawn 10-100 like u wish
CustomZombie1:
  Mobname:CustomZombie1
  Worlds: WORLDNAME
  Chance: 0.01
  Priority: 1
  SpawnMethod: replace
  Conditions:
  - distancefromspawn 100-200

its a bit work to do and u have to double check if the values u set are correct, otherwise u could ending up get Lvl 10 randomspawns close to the spawn

there are a lot of conditions u can add, take a look here

dont forget to check your config and set
GenerateSpawnPoints: true
tweak other values with care cause it could create lag

see ya
 
Last edited:

Heertz

New Member
Joined
Mar 19, 2017
Messages
9
Okay, everything is going perfectly but, sadly, damage is not working on options nor on skills.
I'll search for another plugin until they add support for spigot 1.8.8

Thank you and regards!
 

muhahahahe

Well-Known Member
Supporter
Quality Assurance
Joined
Mar 16, 2017
Messages
982
if u cant find another plugin that will do this for u, let me know, i also have another idea
 

BerndiVader

Active Member
Supporter
Joined
Feb 9, 2016
Messages
602
@Heertz Sad to hear you give up that fast. I for myself, like 1.8.8 very much and do alot of stuff with mm and 1.8.8, beside that damage and skull thing all is fine. but i have a fix for that.

http://www.mediafire.com/file/59d9pkra8o724r0/mmDamageFix18.jar

This runs with mm 4.0.1, spigot 1.8.8 and beside that it fix the thing not adding damage at mob spawn it also add 2 new skills to your mm. one is for the customskull equip issue and the other one to set custom damage on the fly.

Syntax:
Code:
- setdamage{damage=0.0;level=0} @self
- equipskull{skull=skullname} @self

Another easy workaround for the damage thing is to equip the mob with a weapon and edit the weapons stats......

Ok, about the levelmodifiers. You did some mistakes here. First of all you need to declare your world in config.yml of mythicmobs, the defaultmodifiers wont be applied.

Example (Change the worldname "world" to the name of your world or add other worlds in same formatting):
Code:
    Scaling:
      Default:
        Enabled: true
        PerBlocksFromSpawn: 250
      world:
        Enabled: true
        PerBlocksFromSpawn: 50

Now, if we want to use "LevelModifiers" we have do add all the base options to the mob because otherwise they will not be affected by the modifiers. If you want to have a levelmodifier for health you need to add health to the mob config and so on....

Example:
Code:
Monkey:
  Type: Zombie
  Display: "&cMythicMobs Monkey &6[Lv. <mob.level>]"
  Damage: 0.1
  Health: 1
  Armor: 1
  LevelModifiers:
   Health: 1
   Damage: 1
   Armor: 1
   KnockbackResistance: 0.1
   Power: 0.1
   MovementSpeed: 0.1
  Options:
    MovementSpeed: 0.1
    KnockbackResistance: 0.1

This mob works without any problem with level modifiers in 1.8.8 with 4.0.1 mythicmobs. Hope it helps a bit. sry for my english i do my best.
 

Heertz

New Member
Joined
Mar 19, 2017
Messages
9
Thanks @BerndiVader !
You're amazing man! Now it works perfectly :D

The only problem I found is related with worldscaling, I wanted to put 1500 blocks but mobs were spawning in 1000, so I set 2000 blocks, fixed :D

Regards!
 
Top