Browse Source

assorted fixes

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
1206441ab3
  1. 10
      src/engine/gameManager/PowersManager.java

10
src/engine/gameManager/PowersManager.java

@ -218,6 +218,14 @@ public enum PowersManager { @@ -218,6 +218,14 @@ public enum PowersManager {
if (playerCharacter == null)
return false;
boolean skipCheck = false;
if(msg.getPowerUsedID() == 429495514 && playerCharacter.getRace().getName().contains("Shade")){
msg.setPowerUsedID(429397210);//intercept shade using hide and cast sneak instead
skipCheck = true;
}
boolean CSRCast = false;
@ -334,7 +342,7 @@ public enum PowersManager { @@ -334,7 +342,7 @@ public enum PowersManager {
// Check powers for normal users
boolean skipCheck = false;
if(msg.getPowerUsedID() == 429399948)
for(CharacterRune cr : playerCharacter.getRunes())
if(cr.getRuneBaseID() == 3029)

Loading…
Cancel
Save