-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(content): pvp related fixes and additions (#557)
* fix(content): use queue2 for pvp and add duel arena death * feat: pvp death * feat(content): ring of recoil * fix(content): have damage_player queue check if player has ring of recoil * feat(content): ring of life * fix(content): better guess for flower power duel * feat(content): pvp poison * fix(content): duel arena and combat changes * fix(content): use stakeinv for stakes and tempinv for collecting arrows during stakes * fix(content): add some if_closes to duel arena * refactor: combine duel arena win/loss into one queue * feat(engine): findhero and both_heropoints commands * fix(engine): properly reset hero points after stat regen * feat(content): both_heropoints applied to pvp scripts * feat(content): drop bones on death * fix(content): move ring of recoil check to opplayer2 script * fix(engine): check for activeplayer in findhero command * Revert "fix(content): move ring of recoil check to opplayer2 script" This reverts commit 6629885. * fix(content): make recoil damage its own queue to avoid loop --------- Co-authored-by: tannerdino <[email protected]>
- Loading branch information
1 parent
6689abe
commit ae15229
Showing
26 changed files
with
511 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[debugproc,findhero] | ||
if (findhero = true) { | ||
mes(.displayname); | ||
if (.findhero = true) { | ||
mes(displayname); | ||
} | ||
} | ||
|
||
|
||
[debugproc,both_heropoints] | ||
huntall(coord, 5, 0); | ||
while (.huntnext = true) { | ||
if (uid ! .uid) { | ||
both_heropoints(1); | ||
mes("both_heropoints(1);"); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -429,6 +429,7 @@ scope=perm | |
[varp_289] | ||
|
||
[ring_of_recoil] | ||
scope=perm | ||
|
||
[ring_of_forging] | ||
scope=perm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,6 @@ allstock=no | |
stock1=rotten_tomato,2000,10 | ||
|
||
|
||
[duel_arena_arrows] | ||
size=29 | ||
[stakeinv] | ||
size=29 | ||
protect=no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 50 additions & 26 deletions
76
data/src/scripts/minigames/game_duelarena/scripts/duel_arena_finish.rs2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.