Poll: Good idea?
You do not have permission to vote in this poll.
Yes
100.00%
3 100.00%
No
0%
0 0%
It's the same
0%
0 0%
Total 3 vote(s) 100%
* You voted for this item. [Show Results]

Monster Damage Customizable
#1
Hi,
I'm new in the comunity, my nickname is OdnetninI.
Since some weeks, i was looking the code, and i see:

There is a monsters.ini file. It contains, health, attack range, attack rate, ...
Later, I saw the plugin Core/difficulties.lua and I see that it has monster difficulty damage.

Why don't we, put difficulty damage inside monsters.ini? If a user will want to change the damage of a mob, he could change it without edit lua code.

What do you think?

EDIT:
For example:

[Enderman]
AttackRange=2.0
AttackRate=1
AttackDamage_Easy=4.0
AttackDamage_Normal=7.0
AttackDamage_Hard=10.0
SightDistance=25.0
MaxHealth=40
Reply
Thanks given by:
#2
Hi,

I'm new to the community and code too but I think this is more than possible although I don't know any lua Smile

The first thing I thought of was, of course, a c++ implementation of this but since there is already a plugin for this...
Reply
Thanks given by:
#3
I think Vanilla does it different. In vanilla minecraft each difficulty has a number
Quote:Peacefull = 0.00
Easy = 0.75
Normal = 1.50
Hard = 2.25

I think we should do something as well with those numbers to get the right amount of damge.
Reply
Thanks given by:
#4
This is a very good idea. STR_Warrior would you be so kind and open an issue for that. I think it's easy. Or you could just start codingBig Grin
Reply
Thanks given by:
#5
(05-19-2014, 02:33 AM)STR_Warrior Wrote: I think Vanilla does it different. In vanilla minecraft each difficulty has a number
Quote:Peacefull = 0.00
Easy = 0.75
Normal = 1.50
Hard = 2.25

I think we should do something as well with those numbers to get the right amount of damge.

Better than mine, XD

And i think, in the API, must be added a fuction to add new difficulties from lua. It could be very good.
Reply
Thanks given by:
#6
(05-19-2014, 02:40 AM)SphinxC0re Wrote: This is a very good idea. STR_Warrior would you be so kind and open an issue for that. I think it's easy. Or you could just start codingBig Grin

I quickly created this: https://github.com/mc-server/MCServer/issues/1006
Reply
Thanks given by:
#7
Peaceful = 0
Easy = 1
Normal = 2
Hard = 3
See /difficulty command
http://minecraft.gamepedia.com/Difficulty
http://minecraft.gamepedia.com/Commands#...y_commands
Reply
Thanks given by:
#8
Yea you use that to set the difficulty but if you use the debug screen in the latest snapshot you'll see that the numbers I mentioned: [Image: 8RkBT.jpg]
Reply
Thanks given by:
#9
(05-19-2014, 02:57 AM)STR_Warrior Wrote: Yea you use that to set the difficulty but if you use the debug screen in the latest snapshot you'll see that the numbers I mentioned: [Image: 8RkBT.jpg]

But it is different. It is the Local difficulty. Local difficulty is the extra difficulty of a region. It's grow with the time you spend in that zone.

EDIT:

http://minecraft.gamepedia.com/Debug_scr..._.281.8.29
Local Difficulty Shows the difficulty of the chunk the player is in. See Difficulty on how this works. Followed by the amount of in-game days the player has been in the world, see Day-night cycle for more information.
Reply
Thanks given by:
#10
(05-19-2014, 03:00 AM)OdnetninI Wrote:
(05-19-2014, 02:57 AM)STR_Warrior Wrote: Yea you use that to set the difficulty but if you use the debug screen in the latest snapshot you'll see that the numbers I mentioned: [Image: 8RkBT.jpg]

But it is different. It is the Local difficulty. Local difficulty is the extra difficulty of a region. It's grow with the time you spend in that zone.

EDIT:

http://minecraft.gamepedia.com/Debug_scr..._.281.8.29
Local Difficulty Shows the difficulty of the chunk the player is in. See Difficulty on how this works. Followed by the amount of in-game days the player has been in the world, see Day-night cycle for more information.
That is true. Smile
Local Difficulty is saved for each Chunk. When you spend time in an area, this area of the world become harder (more and stronger mobs)
http://minecraft.gamepedia.com/Difficult...difficulty
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)