Solved Limited Heal Effect?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Wugg

Member
Jun 19, 2017
13
0
0
20
So I'm making a mob with health boost 1225 ( 2500 Hearts minus the slime's health which is 100 ) and when I use "heal last spawned slime", it only heals it to 2048 or ( 1024 Hearts ). I want it to be have 2500 Hearts but It only goes to 1024 hearts. I'm using the mod Damage Indicators to show the mob's health.

code_language.skript:
on death of a slime:
    name of victim is "&b&lSlimey Cyst":
        wait 10 ticks
        spawn a slime at victim
        set name of last spawned slime to "&b&lGooey Mind"
        set slime size of last spawned slime to 10
       apply health boost 1225 to last spawned slime for 9999 minutes
        heal last spawned slime

Im using skript version 2.1.2 on minecraft 1.8. (Not updating skript version.)
I have --
Skript
SkQuery
SkMorkaz
Skellet
SkAction
SharkSK
skRayFall
UmbaskaJava7 ( I don't think this one loads )
 
Last edited:
It doesn't seem to work. I have replaced "apply health boost 124 to last spawned slime for 9999 minutes" to "set health of event-entity to 500" but that doesn't work. Instead of the event-entity having 500 HP, it has 4 ( default health amount ).
 
That has not worked. It is still 2048 HP ( 1024 Hearts )

code_language.skript:
wait 10 ticks
        spawn a slime at victim
        set name of last spawned slime to "&b&lGooey Mind"
        set slime size of last spawned slime to 10
        apply strength 10 to last spawned slime for 9999 minutes
        apply health boost 1225 to last spawned slime for 9999 minutes
        set health of event-entity to 99999
        heal last spawned slime
 
Yeah because the right syntax for that is this

code_language.skript:
set the last spawned entity's max health to 2500

If this is not working go to your spigot.yml and change this line
maxHealth: 2500
 
Status
Not open for further replies.