Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Category: Bypass Death Removal>
- <Category: Bypass Recover All Removal>
- <Custom Passive Condition>
- // Get all currently equipped weapons for the user.
- var armors = user.armors();
- // Set Id of the Armor Id.
- var tp = 3;
- // Set the initial condition to be false.
- condition = false;
- // Loop through each of the weapons.
- for (var i = 0; i < armors.length; ++i) {
- // Get the currently looped weapon.
- var armor = armors[i];
- // Check if the armor exists and if the user is equip with the needed armor.
- if (armor && user.hasArmor($dataArmors[tp])) {
- // Set the condition to be true.
- condition = true;
- // TP Mode if Conditon is true
- // var ep is the tp mode id.
- var ep = 3;
- // unlocks the tp mode
- user.unlockTpMode(ep);
- // sets the tp mode to the unlocked one
- user.setTpMode(ep);
- // Removing all other tp modes
- user.removeAllTpModes();
- // Break the loop.
- break;
- }
- }
- </Custom Passive Condition>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement