Skocz do zawartości
  • 0

Problem z formatowaniem slotów i no damage tick


Pytanie

Mam pewien problem..

Nie rozumiem pewnej rzeczy, mam problem z formatowaniem slotów i z damage ticks. Nie chce mi sie myslec juz o co chodzi ;/

Moje addony: WildSkript, SkExtras, SkQuery, skRayFall, Umbaska

Mam jeszcze plugin Vault

Wersje addonów:

WildSkript 1.8
SkExtras 3.5
SkQuery 3.21.4

skRayFall 1.8
Umbaska 2.0 Beta 5.0541

Wesja skript:
Skript 2.1.2

Wersja vault:

Vault 1.4.1-b436

Wersja silnika serwera:

Spigot 1.7.10 ogolnie

git-Spigot-1.7.9-R0.2-208-ge0f2e95 (MC: 1.7.10) (Implementing API version 1.7.10-R0.1-SNAPSHOT)

konsola:

[22:10:58 ERROR]: can't understand this event: 'on all commands' (test.sk, line 57: on all commands:')
[22:10:58 ERROR]: 'player with potion' is not an item type (test.sk, line 64: format slot 0 of player with potion named "&cNoDebuff"')
[22:10:58 ERROR]: 'player with apple' is not an item type (test.sk, line 65: format slot 1 of player with apple named "&6GApple"')
[22:10:58 ERROR]: 'player with book' is not an item type (test.sk, line 66: format slot 2 of player with book named "&aNoEnchants"')
[22:10:58 ERROR]: 'player with fish' is not an item type (test.sk, line 67: format slot 3 of player with fish named "&6&lCombo"')
[22:10:59 ERROR]: 'the no damage' is not an entity type (test.sk, line 613: set the no damage to 0.1 tick')

kawalek skryptu bo calego nie dam:

open chest with 1 rows named "&aAreny" to player
format slot 0 of player with potion named "&cNoDebuff"
format slot 1 of player with apple named "&6GApple"
format slot 2 of player with book named "&aNoEnchants"
format slot 3 of player with fish named "&6&lCombo"

on damage:
    if {cmb.%attacker%} is true:
        if {cmb.%victim%} is true:
            set the no damage to 0.1 tick

Odnośnik do komentarza
https://skript.pl/temat/17711-problem-z-formatowaniem-slot%C3%B3w-i-no-damage-tick/
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

[22:10:58 ERROR]: can't understand this event: 'on all commands' (test.sk, line 57: on all commands:')
Po prostu "on command"
[22:10:58 ERROR]: 'player with potion' is not an item type (test.sk, line 64: format slot 0 of player with potion named "&cNoDebuff"')
Musisz dodać na końcu

to close

,

to close then run

lub

to be unstelable

Możesz dawać cały skrypt. I tak nikt go nie wykorzysta ._.

on damage:
    if {cmb.%attacker%} is true:
        if {cmb.%victim%} is true:
            set the no damage to 0.1 tick

 

 Jaką funkcję ma to pełnić?
Odnośnik do komentarza
https://skript.pl/temat/17711-problem-z-formatowaniem-slot%C3%B3w-i-no-damage-tick/#findComment-121080
Udostępnij na innych stronach

  • 0
6 minut temu, PoweredDragon napisał:

[22:10:58 ERROR]: can't understand this event: 'on all commands' (test.sk, line 57: on all commands:')
Po prostu "on command"
[22:10:58 ERROR]: 'player with potion' is not an item type (test.sk, line 64: format slot 0 of player with potion named "&cNoDebuff"')
Musisz dodać na końcu


to close

,


to close then run

lub


to be unstelable

Możesz dawać cały skrypt. I tak nikt go nie wykorzysta ._.

on all commands niewiedziałem że dałem xd

no i poprawilem na to z tym formatowaniem slotów

Damage ticks ma pelnic funkcje tak zwanego "Combo" wtedyw wchodza tak jaky szybciej hityci wtedy atakowany tak jakby lata i szybciej deda jakby...

Tu masz filmik jak to niby dziala:

 

Edytowane przez DnSu
bez powodu
Odnośnik do komentarza
https://skript.pl/temat/17711-problem-z-formatowaniem-slot%C3%B3w-i-no-damage-tick/#findComment-121081
Udostępnij na innych stronach

  • 0

Nie możesz tak po prostu używacz czegoś z pluginu myśląc, że zadziała w skripcie...
 

Pobierz skellet. Dla wersji niższej niż 1.9:

set damage delay of target entity to 0.1 ticks

dla 1.9+

wait 0.1 tick
set invulnerable state of target entity to false
 
Lub RandomSk
set maximum damage delay of player to 0.1 ticks
Ostatnie ExtrasSk
set invulnerability time of victim to 0.1 ticks

 

 

 

Odnośnik do komentarza
https://skript.pl/temat/17711-problem-z-formatowaniem-slot%C3%B3w-i-no-damage-tick/#findComment-121089
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...