Skocz do zawartości
  • 0

obrażenia - większe i mniejsze


Sabat
 Udostępnij

Pytanie

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Dobra dam może cały kod bo niektórzy nie zrozumieli:

#---SILAon damage:    attacker is a player:        if {sila.1.%attacker%} is true:            stop        if {sila.2.%attacker%} is true:            increase the damage of attacker by 0.5        if {sila.3.%attacker%} is true:            increase the damage of attacker by 1        if {sila.4.%attacker%} is true:            increase the damage of attacker by 1.5        if {sila.5.%attacker%} is true:            increase the damage of attacker by 2        if {sila.6.%attacker%} is true:            increase the damage of attacker by 2.5        if {sila.7.%attacker%} is true:            increase the damage of attacker by 3        if {sila.8.%attacker%} is true:            increase the damage of attacker by 3.5        if {sila.9.%attacker%} is true:            increase the damage of attacker by 4        if {sila.10.%attacker%} is true:            increase the damage of attacker by 5#---WYTRZYMALOSCon damage:    victim is a player:        if {wytrzymalos.1.%victim%} is true:            stop        if {wytrzymalos.2.%victim%} is true:            reduce the damage of victim by 0.5        if {wytrzymalos.3.%victim%} is true:            reduce the damage of victim by 1        if {wytrzymalos.4.%victim%} is true:            reduce the damage of victim by 1.5        if {wytrzymalos.5.%victim%} is true:            reduce the damage of victim by 2        if {wytrzymalos.6.%victim%} is true:            reduce the damage of victim by 2.5        if {wytrzymalos.7.%victim%} is true:            reduce the damage of victim by 3        if {wytrzymalos.8.%victim%} is true:            reduce the damage of victim by 3.5        if {wytrzymalos.9.%victim%} is true:            reduce the damage of victim by 4        if {wytrzymalos.10.%victim%} is true:            reduce the damage of victim by 5

 a błędy mam takie:

[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacker can't have anything added to it (test.sk, line 1079: increase the damage of attacker by 0.5')[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacker can't have anything added to it (test.sk, line 1081: increase the damage of attacker by 1')[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacker can't have anything added to it (test.sk, line 1083: increase the damage of attacker by 1.5')[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacker can't have anything added to it (test.sk, line 1085: increase the damage of attacker by 2')[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacker can't have anything added to it (test.sk, line 1087: increase the damage of attacker by 2.5')[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacker can't have anything added to it (test.sk, line 1089: increase the damage of attacker by 3')[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacker can't have anything added to it (test.sk, line 1091: increase the damage of attacker by 3.5')[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacker can't have anything added to it (test.sk, line 1093: increase the damage of attacker by 4')[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacker can't have anything added to it (test.sk, line 1095: increase the damage of attacker by 5')[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacked entity can't have anything removed from it (test.sk, line 1104: reduce the damage of victim by 0.5')[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacked entity can't have anything removed from it (test.sk, line 1106: reduce the damage of victim by 1')[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacked entity can't have anything removed from it (test.sk, line 1108: reduce the damage of victim by 1.5')[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacked entity can't have anything removed from it (test.sk, line 1110: reduce the damage of victim by 2')[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacked entity can't have anything removed from it (test.sk, line 1112: reduce the damage of victim by 2.5')[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacked entity can't have anything removed from it (test.sk, line 1114: reduce the damage of victim by 3')[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacked entity can't have anything removed from it (test.sk, line 1116: reduce the damage of victim by 3.5')[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacked entity can't have anything removed from it (test.sk, line 1118: reduce the damage of victim by 4')[17:29:46] [Server thread/ERROR]: [Skript] the damage of the attacked entity can't have anything removed from it (test.sk, line 1120: reduce the damage of victim by 5')
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Mam skquery

 

na większy dmg:
make victim attacker damage by 2
wymaga skQuery

 

 

Czy jeżeli mam że np drewniany miecz ma zadawać powiedzmy 2 serduszka, to doda się jedno do drugiego? cz się będzie gryzło??

 

-------------------------------------------------------

 

 

 

Zamien wszedzie na:

reduce damage by 5

oraz

increase damage by 5

 

Zaraz sprawdzę.

 

---

 

 

OK Działa :)

 

----------------------------------------------------------------------

 

Ostatnie pytanie, czy jak dam 

zamiast 5 np 2.5 to zabierze 2 i pół serduszka??

Edytowane przez Sabat
Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

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