anomalija1111
New Member
Posts: 1 Likes: 0
Currently Offline
Last Online: Sept 14, 2022 23:15:03 GMT
View Profile
Registered On: Apr 17, 2020 0:09:17 GMT
|
Post by anomalija1111 on Mar 2, 2021 3:28:07 GMT
Can someone tell me how do I make it for example if my character dies, he waits 10 minutes before he goes back to spawn, and if he reaches a certain death limit he goes back to trainers?
|
|
angeluzmg
New Member
Posts: 2 Likes: 0
Currently Offline
Last Online: Oct 30, 2021 20:44:48 GMT
View Profile
Registered On: Apr 21, 2020 3:52:56 GMT
|
Post by angeluzmg on Jun 23, 2021 9:02:51 GMT
Hello, I have an idea, probably it helps you:
Suppose you start to level up from level 100 with 15694800 exp, you are hunting for 1 hour, and you get level 101, but they kill you and drop to 100, but with 50% exp to go back up to 101, you wait for 10 minutes, and you go back to the hunt, but you die again in a short time, and they lower you to 100 with 0%, if they kill you again you would drop to 99 (if you did not lower before). This is where this Action comes in:
if [$exp <= 15694800] {gotolabel train} else gotolabel 'levelup'
It would make sure you go back to hunting as long as you gain exp instead of losing it.
|
|
Hiresk
Senior Member
Posts: 30 Likes: 3
Currently Offline
Last Online: Jan 25, 2024 5:58:41 GMT
View Profile
Registered On: Oct 1, 2022 4:09:16 GMT
|
Post by Hiresk on Aug 3, 2023 23:00:41 GMT
set $time '600000' set $limit '10' set $limit_label 'trainers' set $dead '0'
auto 100 listas 'Deads: $dead' | if [$caveboton && $hppc == 0 && $completed_time != 1] {inc $dead | setcavebot off | wait $time | set $completed_time '1'} | if [$caveboton != 1 && $hppc != 0 && $dead >= 1 && $completed_time == 1] {set $completed_time '0' | setcavebot on} | if [$caveboton && $hppc != 0 && $dead >= $limit] {gotolabel '$limit_label' | clear $dead} I haven't tested it, if it doesn't work, let me know.
|
|