Code:
package sds.rs2.content.Combat;
/**
* Created by IntelliJ IDEA.
* User: -
* Date: 21-sep-2009
* Time: 15:11:16
* To change this template use File | Settings | File Templates.
*/
public class Data {
private static final int EARTH = 554;
private static final int WATER = 555;
private static final int AIR = 556;
private static final int FIRE = 557;
private static final int MIND = 555;
private static final int CHAOS = 562;
private static final int DEATH = 560;
private static final int BLOOD = 565;
private static final int SOUL = 566;
//todo : implent these : "spear", "spear(s)", "spear(kp)","staff", "Staff",
//todo : implent these : "axe", "flail", "Torags hammers","spear(p)", "spear(+)",
public static final Object[][][] MeleeWeaponData = {
// {{""/*Weapon arguments*/}, {0/*Stab*/, 0/*slash*/, 0/*crush*/}, {0/*DefEmote*/, 0/*delay*/, 0/*distance*/}},
{{"Unarmed"}, {422, 422, 422}, {424, 0, 1}},
{{"flail"}, {-1, -1, 1665}, {1666, 4, 1}},
{{"maul"}, {-1, -1, 1665}, {1666, 4, 1}},
{{"godsword"}, {-1, 407, 406}, {410, 4, 1}},
{{"Abyssal whip"}, {-1, 1658, -1}, {1659, 4, 1}},
{{"halberd"}, {-1, 440, -1}, {-1, 4, 2}},
{{"dagger"}, {386, 390, -1}, {388, 4, 1}},
{{"scimitar"}, {386, 390, -1}, {388, 4, 1}},
{{"mace"}, {400, -1, 401}, {403, 4, 1}},
{{"longsword"}, {386, 390, -1}, {388, 4, 1}},
{{"sword"}, {386, 390, -1}, {388, 4, 1}},
{{"battleaxe"}, {-1, 395, 401}, {397, 4, 1}},
{{" axe"}, {-1, 395, 401}, {397, 4, 1}},
{{"warhammer"}, {-1, -1, 401}, {403, 4, 1}},
{{"2h sword"}, {-1, 7041, 7048}, {7050, 4, 1}},
};
public static final Object[][][] RangeWeaponData = {
// {{"argumetns "}{"/*pullback*/},, 0/*DefEmote*/, 0/*delay*/, 0/*distance*/}},
{{"dart", "dart(p)"}, {0/*pullback*/, 0/*DefEmote*/, 0/*delay*/, 0/*distance*/}},
{{"Longbow", "longbow"}, {0/*AttackEmote*/, 0/*DefEmote*/, 0/*delay*/, 0/*distance*/}},
{{"Shortbow", "shortbow"}, {0/*AttackEmote*/, 0/*DefEmote*/, 0/*delay*/, 0/*distance*/}},
{{"javelin", "javelin(p)"}, {0/*AttackEmote*/, 0/*DefEmote*/, 0/*delay*/, 0/*distance*/}},
{{"knife", "knife(p)"}, {0/*AttackEmote*/, 0/*DefEmote*/, 0/*delay*/, 0/*distance*/}},
{{"crossbow", "Crossbow", "c'bow"}, {0/*AttackEmote*/, 0/*DefEmote*/, 0/*delay*/, 0/*distance*/}},
{{"Toktz-xil"}, {0/*AttackEmote*/, 0/*DefEmote*/, 0/*delay*/, 0/*distance*/}},
{{"Toktz-mej"}, {0/*AttackEmote*/, 0/*DefEmote*/, 0/*delay*/, 0/*distance*/}},
{{"Tzhaar-ket"}, {0/*AttackEmote*/, 0/*DefEmote*/, 0/*delay*/, 0/*distance*/}},
{{"Crystal bow"}, {0/*AttackEmote*/, 0/*DefEmote*/, 0/*delay*/, 0/*distance*/}},
{{"Dark bow"}, {0/*AttackEmote*/, 0/*DefEmote*/, 0/*delay*/, 0/*distance*/}},
{{"Ogre bow", "Comp ogre bow"}, {0/*AttackEmote*/, 0/*DefEmote*/, 0/*delay*/, 0/*distance*/}},
{{"Seercull"}, {0/*AttackEmote*/, 0/*DefEmote*/, 0/*delay*/, 0/*distance*/}},
{{"Training bow"}, {0/*AttackEmote*/, 0/*DefEmote*/, 0/*delay*/, 0/*distance*/}},
};
public static final Object[][][] RangeProjectyleData = {
// gfx moving,startheight,endhieght,speed
{{"bronze arrow"}, {18, 0, 0, 35}},
{{"Iron arrow"}, {17}},
{{"steel arrow"}, {20}},
{{"mithril arrow"},},
{{"adamant arrow"},},
{{"rune arrow"},},
{{"dragon arrow"},},
{{"Iron knife"}, { /*gfx moving*/}},
{{"Bronze knife"}, { /*gfx moving*/}},
{{"Steel knife"}, { /*gfx moving*/}},
{{"Black knife"}, { /*gfx moving*/}},
{{"Mithril knife"}, { /*gfx moving*/}},
{{"Adamant knife"}, { /*gfx moving*/}},
{{"Rune knife"}, { /*pullback*/}},
};
//todo: add {"kiteshield", "sq shield", "Toktz-ket", "books", "book","kiteshield (t)", "kiteshield (g)", "kiteshield(h)", "defender", "shield"};
public static final Object[][][] DefenceEmoteData = {
{{"kiteshield", "sq shield", "kiteshield (t)", "kiteshield (g)", "kiteshield(h)"}, {424}}
};
public static final Object[][][] MageProjectyle = {
/* description */ /*lvl,minxp,affect*/ /*runes*/ /*projectyle*/
{{"Earth Blast"}, {1, 10, -1}, {AIR,1},{MIND,1}, {139, 43, 31, 80}}
};
public static final double[][][] AddCombatXp = {
{{1}, {4, 0}, {1.33, 3}}, {{2}, {4, 2}, {1.33, 3}},
{{3}, {4, 1}, {1.33, 3}}, {{4}, {1.33, 0}, {1.33, 1}, {1.33, 2}, {1.33, 3}},
{{5}, {4, 5}, {1.33, 3}}, {{6}, {2, 5}, {2, 1}, {1.33, 3}},
{{7}, {2, 6}, {1.33, 3}}, {{7}, {2, 6}, {2, 1}, {1.33, 3}}};
public static final int[][][] staffArguments = {
{{1405, 1381, 1397}, {AIR}},
{{1403, 1383, 1395}, {WATER}},
{{1407, 1385, 1399}, {EARTH}},
{{1401, 1397, 1393}, {FIRE}},
{{3054, 3053}, {FIRE, EARTH}},
{{6562, 6563}, {FIRE, WATER}},
};
}