Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

Another Question About Possibility

Discussion in 'Questions' started by rainbowcraft2, Feb 28, 2017.

Tags:
Thread Status:
Not open for further replies.
  1. rainbowcraft2

    rainbowcraft2 Well-Known Adventurer VIP

    Messages:
    228
    Likes Received:
    144
    Trophy Points:
    67
    Minecraft:
    Hello, I have yet another question about possibility.
    Would it possible to make a hostile mob have health or damage or any number of stats based on the stats of the player? For example, copying a player's health and using that for it's own?

    If it is, how hard would it be on a scale of 1 to 10.
     
  2. cars3n

    cars3n Famous Adventurer CHAMPION

    Messages:
    729
    Likes Received:
    1,375
    Trophy Points:
    146
    Minecraft:
    I'm gunna assume it's an 11 on the scale of difficult to implement
     
  3. Reti

    Reti Marquis of the Foxes, King of Memes VIP+

    Messages:
    710
    Likes Received:
    2,738
    Trophy Points:
    157
    Guild:
    Minecraft:
    Do you have an example of what you're thinking of? Because the design of Wynn might not accommodate it
     
  4. rainbowcraft2

    rainbowcraft2 Well-Known Adventurer VIP

    Messages:
    228
    Likes Received:
    144
    Trophy Points:
    67
    Minecraft:
    A mirror clone of the player that 20% of the player's health and adds it to a base health of it's own
    The damage takes 25% of your weapon's damage and adds it to it's own base damage.
    all the skill/stat point are 10+ 60% of the player's stats (defense, strength, etc)
    the regen is a base regen plus a percent of the player's regen
    the other modifiers such as reflection, speed, etc. are 100% of what the player has.

    Would that be possible, do you think?
     
  5. orange0401

    orange0401 Fortified with Vitamin C HERO

    Messages:
    3,839
    Likes Received:
    3,713
    Trophy Points:
    192
    Minecraft:
    In any properly structured and coded game, this would be easy, and would take a matter of hours to do (minus debugging, that shit takes literally forever).
    HOWEVER, wynn is written with Jumcode, so I have no clue how long it would take, if possible at all. On top of that, as far as I know, there are no variables that store player weapon damage, the compass values remain broken, and there is no way to determine which weapon the player is using accurately.

    In theory, yes, its easily possible, but in this realm of wynncraft, I have no idea.
    Also, the amount of extra processing strain this would put the server under with calculations about player values probably would not be worth the benefit of having a somewhat interesting boss fight.
     
    Reti and XavierEXE like this.
  6. Flubby

    Flubby left and accidentally became leftist VIP+

    Messages:
    2,127
    Likes Received:
    9,152
    Trophy Points:
    207
    Minecraft:
    Checking the player's stats and then instantly creating a clone would be very very difficult to make. With the complexities of wynncraft it'd be even harder.
     
  7. orange0401

    orange0401 Fortified with Vitamin C HERO

    Messages:
    3,839
    Likes Received:
    3,713
    Trophy Points:
    192
    Minecraft:
    Considering that most good bosses have a buildup within the arena (a grace period if you will), the ~4-5s would be all the server needs to make the calculations necessary to generate said clone.

    Also see my above comment about the realistic possibility.
     
  8. rainbowcraft2

    rainbowcraft2 Well-Known Adventurer VIP

    Messages:
    228
    Likes Received:
    144
    Trophy Points:
    67
    Minecraft:
    So it would not only be possible, but it would even be easy except for the weapon? If the weapon part is not possible, I could just remove it. The only part that's really important is being able to copy a player's health and defense, strength, dexterity, and agility; intelligence won't really have any effect on the boss.

    As long as copying those stats is easy enough, then I can make the mob work.
     
  9. orange0401

    orange0401 Fortified with Vitamin C HERO

    Messages:
    3,839
    Likes Received:
    3,713
    Trophy Points:
    192
    Minecraft:
    Jumcode
     
    motoki1 and Pokextreme like this.
  10. Undyne

    Undyne Do you enjoy going through hell? CHAMPION

    Messages:
    1,042
    Likes Received:
    2,141
    Trophy Points:
    151
    Minecraft:
    As far as I know, the mob creation settings do not have a feature that can "copy" player stats and apply them to the mob. A lot of times, health/damage are calculated via a mob chart for the appropriate levels and difficulty of the mob. Stats/stat effects don't apply to mobs, and in regards to elements you directly add elemental damage/defense to the mob's stats.

    The code used to create the mobs isn't strong enough to create a player mimic/clone/mirror effect. If it was, it would have been used already for an endgame or an altar boss. It might be possible to add something like that in the future, but it does take time for the code to be created. If you are considering making mobs, remember that each mob has its own damage, health, and defense, and it cannot be modified unless a debuff effect is applied to it in game.

    I hope this clears things up for you. I'm assuming you're applying for GM since you're interested in mobs, so good luck.

    -Undyne

    (P.S. Even if it is possible, it would probably be very advanced for your level of knowledge. For now, stay simple and try to use concepts you've seen in game as reference.)
     
    rainbowcraft2 likes this.
  11. rainbowcraft2

    rainbowcraft2 Well-Known Adventurer VIP

    Messages:
    228
    Likes Received:
    144
    Trophy Points:
    67
    Minecraft:
    I guess the "mirror clone" will have to be limited to copying the player's skin and nothing more. I assume mobs can do that because that's what shadow clone does. Thank you for the information!
     
  12. rainbowcraft2

    rainbowcraft2 Well-Known Adventurer VIP

    Messages:
    228
    Likes Received:
    144
    Trophy Points:
    67
    Minecraft:
    Last part of the question; do you think the mob could detect and use the player's class?
     
  13. Yuno F Gasai

    Yuno F Gasai Forum God, FW

    Messages:
    13,440
    Likes Received:
    28,736
    Trophy Points:
    227
    Guild:
    Minecraft:
    I think its possible but it will be hard if the player changes armour/weapons or if there are multiple players
     
    Thom_Com likes this.
  14. Undyne

    Undyne Do you enjoy going through hell? CHAMPION

    Messages:
    1,042
    Likes Received:
    2,141
    Trophy Points:
    151
    Minecraft:
    Again, the code is not complex enough to do such a thing. On top of that, mobs do not use classes but rather different AI settings, such as melee, ranged, and so on. Classes are a player only thing and is there to give a particular playing experience to players, whereas mobs use constant AIs that do not change, even if the player is a different class.

    Basically, cloning player stats in general is not possible since player stats are much different than mob stats. Players have IDs and particular skill point values that are too complex for mobs. If you wish to give mobs a certain technique or uniqueness, then try using the available spell AI (mobs casting spells like heal, flamethrower, etc) since that is possible to add to a mob's attributes.
     
    rainbowcraft2 likes this.
  15. rainbowcraft2

    rainbowcraft2 Well-Known Adventurer VIP

    Messages:
    228
    Likes Received:
    144
    Trophy Points:
    67
    Minecraft:
    I guess I'll have to make the mobs have one spell AI for each class and use them at the same time... Thanks for your help.
     
Thread Status:
Not open for further replies.