Skip to content

Commit

Permalink
Merge pull request Kitteh6660#21 from Ormael7/master-wip
Browse files Browse the repository at this point in the history
Master wip
  • Loading branch information
Jtecx authored Jan 5, 2021
2 parents cac3029 + 62fcea0 commit 380a58b
Show file tree
Hide file tree
Showing 20 changed files with 277 additions and 158 deletions.
2 changes: 1 addition & 1 deletion classes/classes/CharSpecial.as
Original file line number Diff line number Diff line change
Expand Up @@ -1680,7 +1680,7 @@ import classes.Items.*;
player.setJewelry(jewelries.MSIGNIT);
player.setUndergarment(undergarments.C_LOIN);
player.createKeyItem("Dark Mage’s Grimoire",0,0,0,0);
if (player.hasKeyItem("Backpack") < 0) player.createKeyItem("Backpack", 3, 0, 0, 0);
if (player.hasKeyItem("Backpack") < 0) player.createKeyItem("Backpack", 4, 0, 0, 0);
player.itemSlot1.setItemAndQty(consumables.H_BISCU, 5);

if (!player.hasPerk(PerkLib.PastLifeScholar)) player.createPerk(PerkLib.HistoryScholar, 0, 0, 0, 0);
Expand Down
1 change: 1 addition & 0 deletions classes/classes/Items/JewelryLib.as
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ package classes.Items
public const RINGSTR:RingOfStrength = new RingOfStrength();
public const RINGTOU:RingOfToughness = new RingOfToughness();
public const RINGWIS:RingOfWisdom = new RingOfWisdom();
public const EZEKIELS:Jewelry = new Jewelry("EzekielS", "EzekielSignet", "Ezekiel's Signet", "an Ezekiel's Signet", 0, 0, 100, "A signet rumored to be blessed by the Ezekiel himself. Is that real one or just another fake signet merchant sold you?","Ring");
//public const RINGWIS:Bullseye = new RingWisdom();

//Normal ring
Expand Down
2 changes: 1 addition & 1 deletion classes/classes/Items/Weapons/AngstDaggers.as
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ package classes.Items.Weapons
}

override public function canUse():Boolean {
if (game.player.findPerk(PerkLib.DualWieldSmall) >= 0) return true;
if (game.player.findPerk(PerkLib.DualWield) >= 0) return true;
outputText("You aren't skilled enough to handle this pair of weapons! ");
return false;
}
Expand Down
60 changes: 30 additions & 30 deletions classes/classes/Items/Weapons/DualBFSword.as
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
/**
* ...
* @author Ormael
*/
package classes.Items.Weapons
{
import classes.Items.Weapon;
import classes.PerkLib;
import classes.Player;

public class DualBFSword extends Weapon {

public function DualBFSword() {
super("DBFSwo", "D.B.F.Sword", "dual big fucking swords", "a pair of big fucking swords", "slash", 50, 4000, "Big Fucking Swords - the best solution for a tiny e-pen complex at this side of the Mareth! This pair of 2H 2,5 meters long swords requires 150 strength to fully unleash it power.", "Dual Large");
}

override public function get attack():Number {
var boost:int = 0;
if (game.player.str >= 150) boost += 20;
if (game.player.str >= 100) boost += 15;
if (game.player.str >= 50) boost += 10;
return (5 + boost);
}

override public function canUse():Boolean {
if (game.player.findPerk(PerkLib.DualWieldLarge) >= 0) return true;
outputText("You aren't skilled enough to handle this pair of weapons! ");
return false;
}
}
/**
* ...
* @author Ormael
*/
package classes.Items.Weapons
{
import classes.Items.Weapon;
import classes.PerkLib;
import classes.Player;

public class DualBFSword extends Weapon {

public function DualBFSword() {
super("DBFSwo", "D.B.F.Sword", "dual big fucking swords", "a pair of big fucking swords", "slash", 50, 4000, "Big Fucking Swords - the best solution for a tiny e-pen complex at this side of the Mareth! This pair of 2H 2,5 meters long swords requires 150 strength to fully unleash it power.", "Dual Large");
}

override public function get attack():Number {
var boost:int = 0;
if (game.player.str >= 150) boost += 20;
if (game.player.str >= 100) boost += 15;
if (game.player.str >= 50) boost += 10;
return (5 + boost);
}

override public function canUse():Boolean {
if (game.player.findPerk(PerkLib.DualWield) >= 0) return true;
outputText("You aren't skilled enough to handle this pair of weapons! ");
return false;
}
}
}
2 changes: 1 addition & 1 deletion classes/classes/Items/Weapons/DualBFWhip.as
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ package classes.Items.Weapons
}

override public function canUse():Boolean {
if (game.player.findPerk(PerkLib.DualWieldLarge) >= 0) return true;
if (game.player.findPerk(PerkLib.DualWield) >= 0) return true;
outputText("You aren't skilled enough to handle this pair of weapons! ");
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion classes/classes/Items/Weapons/DualDaggers.as
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package classes.Items.Weapons
}

override public function canUse():Boolean {
if (game.player.findPerk(PerkLib.DualWieldSmall) >= 0) return true;
if (game.player.findPerk(PerkLib.DualWield) >= 0) return true;
outputText("You aren't skilled enough to handle this pair of weapons! ");
return false;
}
Expand Down
58 changes: 29 additions & 29 deletions classes/classes/Items/Weapons/DualHugeWarhammer.as
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
/**
* ...
* @author Ormael
*/
package classes.Items.Weapons
{
import classes.Items.Weapon;
import classes.PerkLib;
import classes.Player;

public class DualHugeWarhammer extends Weapon {

public function DualHugeWarhammer()
{
super("D.WHam", "D.WarHam", "dual huge warhammer", "a dual huge warhammer", "smash", 15, 2400, "A pair of huge war-hammers made almost entirely of steel that only the strongest warriors could use. Getting hit with this might stun the victim.", "Dual Large");
}

override public function get attack():Number {
var boost:int = 0;
if (game.player.str >= 80) boost += 8;
return (7 + boost);
}

override public function canUse():Boolean {
if (game.player.findPerk(PerkLib.DualWieldLarge) >= 0) return true;
outputText("You aren't skilled enough to handle this pair of weapons! ");
return false;
}
}
/**
* ...
* @author Ormael
*/
package classes.Items.Weapons
{
import classes.Items.Weapon;
import classes.PerkLib;
import classes.Player;

public class DualHugeWarhammer extends Weapon {

public function DualHugeWarhammer()
{
super("D.WHam", "D.WarHam", "dual huge warhammer", "a dual huge warhammer", "smash", 15, 2400, "A pair of huge war-hammers made almost entirely of steel that only the strongest warriors could use. Getting hit with this might stun the victim.", "Dual Large");
}

override public function get attack():Number {
var boost:int = 0;
if (game.player.str >= 80) boost += 8;
return (7 + boost);
}

override public function canUse():Boolean {
if (game.player.findPerk(PerkLib.DualWield) >= 0) return true;
outputText("You aren't skilled enough to handle this pair of weapons! ");
return false;
}
}
}
2 changes: 1 addition & 1 deletion classes/classes/Items/Weapons/DualLargeAxe.as
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package classes.Items.Weapons
}

override public function canUse():Boolean {
if (game.player.findPerk(PerkLib.DualWieldLarge) >= 0) return true;
if (game.player.findPerk(PerkLib.DualWield) >= 0) return true;
outputText("You aren't skilled enough to handle this pair of weapons! ");
return false;
}
Expand Down
54 changes: 30 additions & 24 deletions classes/classes/Items/Weapons/DualSuccubiWhip.as
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
/**
* ...
* @author Ormael
*/
package classes.Items.Weapons
{
import classes.PerkLib;
import classes.Player;
import classes.Items.Weapon;

public class DualSuccubiWhip extends Weapon
{

public function DualSuccubiWhip()
{
super("PSWhip","P.SucWhip","pair of succubi whips","a pair of succubi whips","sexy whipping",10,800,"This pair of coiled length of midnight-black leather practically exudes lust. Though it looks like it could do a lot of damage, the feel of that slick leather impacting flesh is sure to inspire lust. However, it might slowly warp the mind of wielder.");
}

override public function get attack():Number {
var boost:int = 0;
if (game.player.findPerk(PerkLib.ArcaneLash) >= 0) boost += 8;
return (10 + boost);
}
}
/**
* ...
* @author Ormael
*/
package classes.Items.Weapons
{
import classes.PerkLib;
import classes.Player;
import classes.Items.Weapon;

public class DualSuccubiWhip extends Weapon
{

public function DualSuccubiWhip()
{
super("PSWhip","P.SucWhip","pair of succubi whips","a pair of succubi whips","sexy whipping",10,800,"This pair of coiled length of midnight-black leather practically exudes lust. Though it looks like it could do a lot of damage, the feel of that slick leather impacting flesh is sure to inspire lust. However, it might slowly warp the mind of wielder.");
}

override public function get attack():Number {
var boost:int = 0;
if (game.player.findPerk(PerkLib.ArcaneLash) >= 0) boost += 8;
return (10 + boost);
}

override public function canUse():Boolean {
if (game.player.findPerk(PerkLib.DualWield) >= 0) return true;
outputText("You aren't skilled enough to handle this pair of weapons! ");
return false;
}
}
}
54 changes: 30 additions & 24 deletions classes/classes/Items/Weapons/DualWhip.as
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
/**
* ...
* @author Ormael
*/
package classes.Items.Weapons
{
import classes.PerkLib;
import classes.Player;
import classes.Items.Weapon;

public class DualWhip extends Weapon
{

public function DualWhip()
{
super("P.Whip ", "P.Whip", "pair of coiled whips", "a pair of coiled whips", "whip-crack", 5, 400, "A pair of coiled length of leather designed to lash your foes into submission. There's a chance the bondage inclined might enjoy it!");
}

override public function get attack():Number {
var boost:int = 0;
if (game.player.findPerk(PerkLib.ArcaneLash) >= 0) boost += 2;
return (5 + boost);
}
}
/**
* ...
* @author Ormael
*/
package classes.Items.Weapons
{
import classes.PerkLib;
import classes.Player;
import classes.Items.Weapon;

public class DualWhip extends Weapon
{

public function DualWhip()
{
super("P.Whip ", "P.Whip", "pair of coiled whips", "a pair of coiled whips", "whip-crack", 5, 400, "A pair of coiled length of leather designed to lash your foes into submission. There's a chance the bondage inclined might enjoy it!");
}

override public function get attack():Number {
var boost:int = 0;
if (game.player.findPerk(PerkLib.ArcaneLash) >= 0) boost += 2;
return (5 + boost);
}

override public function canUse():Boolean {
if (game.player.findPerk(PerkLib.DualWield) >= 0) return true;
outputText("You aren't skilled enough to handle this pair of weapons! ");
return false;
}
}
}
2 changes: 1 addition & 1 deletion classes/classes/Items/Weapons/NorthernerIcePicks.as
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package classes.Items.Weapons
}

override public function canUse():Boolean {
if (game.player.findPerk(PerkLib.DualWieldSmall) >= 0) return true;
if (game.player.findPerk(PerkLib.DualWield) >= 0) return true;
outputText("You aren't skilled enough to handle this pair of weapons! ");
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion classes/classes/Items/WeaponsRange/TwinDartPistol.as
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package classes.Items.WeaponsRange
}

override public function canUse():Boolean {
if (game.player.findPerk(PerkLib.DualWieldFirearms) >= 0) return true;
if (game.player.findPerk(PerkLib.DualWield) >= 0) return true;
outputText("You aren't skilled enough to handle this pair of firearms! ");
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion classes/classes/Items/WeaponsRange/TwinGrakaturd.as
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package classes.Items.WeaponsRange
}

override public function canUse():Boolean {
if (game.player.findPerk(PerkLib.DualWieldFirearms) >= 0) return true;
if (game.player.findPerk(PerkLib.DualWield) >= 0) return true;
outputText("You aren't skilled enough to handle this pair of firearms! ");
return false;
}
Expand Down
4 changes: 2 additions & 2 deletions classes/classes/PerkLib.as
Original file line number Diff line number Diff line change
Expand Up @@ -950,8 +950,8 @@ public class PerkLib
"Further increases dragon breath attacks power and allows to combine all 4 basic breath types more often. (+600% to dragon breaths damage, +10% of max core Spe as phantom Spe)",
"You've chosen the 'Draconic Lungs (Final Form)' perk. Further increases increases dragon breath attacks power and allows to combine all 4 basic breath types more often.").withBuffs({'spe.mult':0.20});
public static const DualWield:PerkType = mk("Dual Wield", "Dual Wield",
"Allows you to wield two normal sized melee weapons (excluding staffs).",
"You've chosen the 'Dual Wield' perk, training skill of using two melee weapons excluding staffs.");
"Allows you to wield two melee weapons.",
"You've chosen the 'Dual Wield' perk, training skill of using two melee weapons.");
public static const DualWieldFirearms:PerkType = mk("Dual Wield (Firearms)", "Dual Wield (Firearms)",
"Allows you to wield two firearms (non 2H ones).",
"You've chosen the 'Dual Wield (Firearms)' perk, training skill of using two firearms (non 2H ones).");
Expand Down
Loading

0 comments on commit 380a58b

Please sign in to comment.