Skip to content

Commit

Permalink
Merge pull request #219 from MuteTiefling/slow-down-dragon-drops
Browse files Browse the repository at this point in the history
Update functions.js
  • Loading branch information
MuteTiefling authored Nov 17, 2024
2 parents b5f265e + 199a727 commit fe25b22
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kubejs/server_scripts/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ function onlyDrygmy(event, entity) {
return event.addEntityModifier(entity).matchAttackerCustom((attacker) => attacker.uuid.toString() == DRYGMY_UUID);
}

function notDrygmy(event, entity) {
return event.addEntityModifier(entity).matchAttackerCustom((attacker) => attacker.uuid.toString() != DRYGMY_UUID);
}

function generatePentacleEntry(ritual_name, x_placement, y_placement, parents) {
let entry = {
name: ritual_name,
Expand Down

0 comments on commit fe25b22

Please sign in to comment.