Paulina's Equipment Set (R-grade) correction.
Contributed by SmiDmi.
This commit is contained in:
		| @@ -98,23 +98,30 @@ public class PaulinasSupportBox implements IItemHandler | ||||
| 	private static final int WEAPON_FIST_S = 46828; | ||||
| 	private static final int WEAPON_SPEAR_S = 46829; | ||||
| 	private static final int WEAPON_BOW_S = 46830; | ||||
| 	private static final int ARROW_OF_LIGHT_S = 1345; | ||||
| 	private static final int WEAPON_DAGGER_S = 46831; | ||||
| 	private static final int WEAPON_STAFF_S = 46832; | ||||
| 	private static final int WEAPON_DUALSWORD_S = 46833; | ||||
| 	// private static final int WEAPON_ANCIENT_S = 46834; | ||||
| 	private static final int WEAPON_RAPIER_S = 46835; | ||||
| 	private static final int WEAPON_CROSSBOW_S = 46836; | ||||
| 	private static final int BOLT_OF_LIGHT_S = 9637; | ||||
| 	// R-Grade weapon rewards | ||||
| 	private static final int WEAPON_SWORD_R = 47008; | ||||
| 	private static final int WEAPON_SHIELD_R = 47026; | ||||
| 	private static final int WEAPON_GSWORD_R = 47009; | ||||
| 	private static final int WEAPON_BLUNT_R = 47010; | ||||
| 	private static final int WEAPON_FIST_R = 47011; | ||||
| 	private static final int WEAPON_SPEAR_R = 47012; | ||||
| 	private static final int WEAPON_BOW_R = 47013; | ||||
| 	private static final int ORICHALCUM_ARROW_R = 18550; | ||||
| 	private static final int WEAPON_DUALDAGGER_R = 47019; | ||||
| 	private static final int WEAPON_CASTER_R = 47016; | ||||
| 	private static final int WEAPON_SIGIL_R = 47037; | ||||
| 	private static final int WEAPON_STAFF_R = 47017; | ||||
| 	private static final int WEAPON_DUALSWORD_R = 47018; | ||||
| 	private static final int WEAPON_CROSSBOW_R = 47014; | ||||
| 	private static final int ORICHALCUM_BOLT_R = 19443; | ||||
| 	 | ||||
| 	@Override | ||||
| 	public boolean useItem(Playable playable, ItemInstance item, boolean forceUse) | ||||
| @@ -477,6 +484,7 @@ public class PaulinasSupportBox implements IItemHandler | ||||
| 						else if (CategoryData.getInstance().isInCategory(CategoryType.SUBJOB_GROUP_BOW, classId.getId())) | ||||
| 						{ | ||||
| 							player.addItem(getClass().getSimpleName(), BOX_S_LIGHT, 1, player, true); | ||||
| 							player.addItem(getClass().getSimpleName(), ARROW_OF_LIGHT_S, 5000, player, true); | ||||
| 							player.addItem(getClass().getSimpleName(), WEAPON_BOW_S, 1, player, true); | ||||
| 						} | ||||
| 						else if (CategoryData.getInstance().isInCategory(CategoryType.SUBJOB_GROUP_DAGGER, classId.getId())) | ||||
| @@ -550,6 +558,7 @@ public class PaulinasSupportBox implements IItemHandler | ||||
| 						else if (CategoryData.getInstance().isInCategory(CategoryType.DIVISION_ARCHER, classId.getId())) | ||||
| 						{ | ||||
| 							player.addItem(getClass().getSimpleName(), WEAPON_CROSSBOW_S, 1, player, true); | ||||
| 							player.addItem(getClass().getSimpleName(), BOLT_OF_LIGHT_S, 5000, player, true); | ||||
| 						} | ||||
| 						else | ||||
| 						{ | ||||
| @@ -582,11 +591,17 @@ public class PaulinasSupportBox implements IItemHandler | ||||
| 					case ELF: | ||||
| 					case DARK_ELF: | ||||
| 					{ | ||||
| 						if (CategoryData.getInstance().isInCategory(CategoryType.SIXTH_FEOH_GROUP, classId.getId()) || (CategoryData.getInstance().isInCategory(CategoryType.SIXTH_WYNN_GROUP, classId.getId())) || (CategoryData.getInstance().isInCategory(CategoryType.SIXTH_EOLH_GROUP, classId.getId()))) | ||||
| 						if (CategoryData.getInstance().isInCategory(CategoryType.SIXTH_FEOH_GROUP, classId.getId()) || (CategoryData.getInstance().isInCategory(CategoryType.SIXTH_WYNN_GROUP, classId.getId()))) | ||||
| 						{ | ||||
| 							player.addItem(getClass().getSimpleName(), BOX_R_ROBE, 1, player, true); | ||||
| 							player.addItem(getClass().getSimpleName(), WEAPON_STAFF_R, 1, player, true); | ||||
| 						} | ||||
| 						else if (CategoryData.getInstance().isInCategory(CategoryType.SIXTH_EOLH_GROUP, classId.getId())) | ||||
| 						{ | ||||
| 							player.addItem(getClass().getSimpleName(), BOX_R_ROBE, 1, player, true); | ||||
| 							player.addItem(getClass().getSimpleName(), WEAPON_CASTER_R, 1, player, true); | ||||
| 							player.addItem(getClass().getSimpleName(), WEAPON_SIGIL_R, 1, player, true); | ||||
| 						} | ||||
| 						else if (CategoryData.getInstance().isInCategory(CategoryType.SIXTH_OTHEL_GROUP, classId.getId())) | ||||
| 						{ | ||||
| 							player.addItem(getClass().getSimpleName(), BOX_R_LIGHT, 1, player, true); | ||||
| @@ -595,6 +610,7 @@ public class PaulinasSupportBox implements IItemHandler | ||||
| 						else if (CategoryData.getInstance().isInCategory(CategoryType.SIXTH_YR_GROUP, classId.getId())) | ||||
| 						{ | ||||
| 							player.addItem(getClass().getSimpleName(), BOX_R_LIGHT, 1, player, true); | ||||
| 							player.addItem(getClass().getSimpleName(), ORICHALCUM_ARROW_R, 5000, player, true); | ||||
| 							player.addItem(getClass().getSimpleName(), WEAPON_BOW_R, 1, player, true); | ||||
| 						} | ||||
| 						else if (CategoryData.getInstance().isInCategory(CategoryType.SIXTH_IS_GROUP, classId.getId()) || (player.getClassId() == ClassId.TYRR_DUELIST)) | ||||
| @@ -611,6 +627,7 @@ public class PaulinasSupportBox implements IItemHandler | ||||
| 						{ | ||||
| 							player.addItem(getClass().getSimpleName(), BOX_R_HEAVY, 1, player, true); | ||||
| 							player.addItem(getClass().getSimpleName(), WEAPON_SWORD_R, 1, player, true); | ||||
| 							player.addItem(getClass().getSimpleName(), WEAPON_SHIELD_R, 1, player, true); | ||||
| 						} | ||||
| 						else | ||||
| 						{ | ||||
| @@ -663,6 +680,7 @@ public class PaulinasSupportBox implements IItemHandler | ||||
| 						else if (CategoryData.getInstance().isInCategory(CategoryType.SIXTH_YR_GROUP, classId.getId())) | ||||
| 						{ | ||||
| 							player.addItem(getClass().getSimpleName(), BOX_R_LIGHT, 1, player, true); | ||||
| 							player.addItem(getClass().getSimpleName(), ORICHALCUM_BOLT_R, 5000, player, true); | ||||
| 							player.addItem(getClass().getSimpleName(), WEAPON_CROSSBOW_R, 1, player, true); | ||||
| 						} | ||||
| 						else | ||||
|   | ||||
| @@ -489,12 +489,11 @@ | ||||
| 			<item id="47023" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Gaiters - Heavy Armor --> | ||||
| 			<item id="47024" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Gauntlets - Heavy Armor --> | ||||
| 			<item id="47025" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Boots - Heavy Armor --> | ||||
| 			<item id="47026" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Shield - Heavy Armor --> | ||||
| 			<item id="47038" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Necklace - Skill Cooldown --> | ||||
| 			<item id="47039" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Earring - Vampiric Rage --> | ||||
| 			<item id="47040" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Earring - MP Consumption --> | ||||
| 			<item id="47041" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Ring - Critical Damage --> | ||||
| 			<item id="47042" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Ring - Critical Rate --> | ||||
| 			<item id="47039" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Earring - Vampiric Rage --> | ||||
| 			<item id="47040" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Earring - MP Consumption --> | ||||
| 			<item id="47041" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Ring - Critical Damage --> | ||||
| 			<item id="47042" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Ring - Critical Rate --> | ||||
| 		</capsuled_items> | ||||
| 	</item> | ||||
| 	<item id="46925" name="Paulina's Light Armor Box (R-grade)" type="EtcItem"> | ||||
| @@ -518,10 +517,10 @@ | ||||
| 			<item id="47030" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Leather Gloves - Light Armor --> | ||||
| 			<item id="47031" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Leather Boots - Light Armor --> | ||||
| 			<item id="47038" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Necklace - Skill Cooldown --> | ||||
| 			<item id="47039" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Earring - Vampiric Rage --> | ||||
| 			<item id="47040" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Earring - MP Consumption --> | ||||
| 			<item id="47041" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Ring - Critical Damage --> | ||||
| 			<item id="47042" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Ring - Critical Rate --> | ||||
| 			<item id="47039" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Earring - Vampiric Rage --> | ||||
| 			<item id="47040" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Earring - MP Consumption --> | ||||
| 			<item id="47041" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Ring - Critical Damage --> | ||||
| 			<item id="47042" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Ring - Critical Rate --> | ||||
| 		</capsuled_items> | ||||
| 	</item> | ||||
| 	<item id="46926" name="Paulina's Robe Box (R-grade)" type="EtcItem"> | ||||
| @@ -544,12 +543,11 @@ | ||||
| 			<item id="47034" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Stockings - Robe --> | ||||
| 			<item id="47035" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Gloves - Robe --> | ||||
| 			<item id="47036" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Shoes - Robe --> | ||||
| 			<item id="47037" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Sigil - Robe --> | ||||
| 			<item id="47038" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Necklace - Skill Cooldown --> | ||||
| 			<item id="47039" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Earring - Vampiric Rage --> | ||||
| 			<item id="47040" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Earring - MP Consumption --> | ||||
| 			<item id="47041" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Ring - Critical Damage --> | ||||
| 			<item id="47042" min="2" max="2" chance="100" /> <!-- Paulina's Twilight Ring - Critical Rate --> | ||||
| 			<item id="47039" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Earring - Vampiric Rage --> | ||||
| 			<item id="47040" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Earring - MP Consumption --> | ||||
| 			<item id="47041" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Ring - Critical Damage --> | ||||
| 			<item id="47042" min="1" max="1" chance="100" /> <!-- Paulina's Twilight Ring - Critical Rate --> | ||||
| 		</capsuled_items> | ||||
| 	</item> | ||||
| 	<item id="46927" name="Paulina's Brigandine Helmet" additionalName="Heavy Armor" type="Armor"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment