//================= Hercules Database =====================================
//= _ _ _
//= | | | | | |
//= | |_| | ___ _ __ ___ _ _| | ___ ___
//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
//= | | | | __/ | | (__| |_| | | __/\__ \
//= \_| |_/\___|_| \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2014-2015 Hercules Dev Team
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program. If not, see .
//=========================================================================
//= Items Database
//=========================================================================
item_db: (
// Items Database
//
/******************************************************************************
************* Entry structure ************************************************
******************************************************************************
{
// =================== Mandatory fields ===============================
Id: ID (int)
AegisName: "Aegis_Name" (string)
Name: "Item Name" (string)
// =================== Optional fields
================================
Type: Item Type (string, defaults to "IT_ETC")
Buy: Buy Price (int, defaults to Sell * 2)
Sell: Sell Price (int, defaults to Buy / 2)
Weight: Item Weight (int, defaults to 0)
Atk: Attack (int, defaults to 0)
Matk: Magical Attack (int, defaults to 0, ignored in pre-re)
Def: Defense (int, defaults to 0)
Range: Attack Range (int, defaults to 0)
MinRange: Minimal Attack Range (int, defaults to 0)
Slots: Slots (int, defaults to 0)
Job: Job mask (int, defaults to all jobs = 0xFFFFFFFF)
Upper: Upper mask (bitmask array, string or int, defaults to "ITEMUPPER_ALL")
Gender: Gender (string, defaults to "SEX_ANY")
Loc: Equip location (bitmask array, string or int, required value for equipment)
WeaponLv: Weapon Level (int, defaults to 0)
EquipLv: Equip required level (int, defaults to 0)
EquipLv: [min, max] (alternative syntax with min / max level)
Refine: Refineable (boolean, defaults to true)
DisableOptions: true/false (boolean, defaults to false !!for equipments only!!) [Smokexyz]
Subtype: Item Subtype (int, defaults to 0)
W_FIST, ///< Bare hands
W_DAGGER, //1
W_1HSWORD, //2
W_2HSWORD, //3
W_1HSPEAR, //4
W_2HSPEAR, //5
W_1HAXE, //6
W_2HAXE, //7
W_MACE, //8
W_2HMACE, //9
W_STAFF, //10
W_BOW, //11
W_KNUCKLE, //12
W_MUSICAL, //13
W_WHIP, //14
W_BOOK, //15
W_KATAR, //16
W_REVOLVER, //17
W_RIFLE, //18
W_GATLING, //19
W_SHOTGUN, //20
W_GRENADE, //21
W_HUUMA, //22
W_2HSTAFF, //23
ViewSprite: Sprite view ID (int, defaults to 0)
BindOnEquip: true/false (boolean, defaults to false)
ForceSerial: true/false (boolean, defaults to false)
BuyingStore: true/false (boolean, defaults to false)
Delay: Delay to use item (int, defaults to 0)
FloorLifeTime: Delay to remove item from ground (int, default flooritem_lifetime)
KeepAfterUse: true/false (boolean, defaults to false)
DropAnnounce: true/false (boolean, defaults to false)
AllowPickup: true/false (boolean, defaults to true)
Charm: true/false (boolean, defaults to false)
MaxFloorOffset: [x, y] (int, defaults to 8)
MaxFloorOffset: offset (int, defaults to 8)
Identified: true/false (boolean, default to true)
RequiredStr: required strength (int, default to 0)
RequiredAgi: required agility (int, default to 0)
RequiredVit: required vitality (int, default to 0)
RequiredInt: required intellect (int, default to 0)
RequiredDex: required dexterity (int, default to 0)
RequiredLuk: required luck (int, default to 0)
RequiredMaxHp: required max hp (int, default to 0)
RequiredMaxSp: required max sp (int, default to 0)
RequiredAtk: required attack (int, default to 0)
RequiredMAtkMin: required minimal magic attack (int, default to 0)
RequiredMAtkMax: required maximum magic attack (int, default to 0)
RequiredDef: required defence (int, default to 0)
RequiredMDef: required magic defence (int, default to 0)
RequiredSkill: required skill (int, default to 0)
UseEffect: effect if use/equip item success (int, default to -1)
UseFailEffect: effect if use/equip item failed (int, default to -1)
UnequipEffect: effect if unequip item success (int, default to -1)
UnequipFailEffect: effect if unequip item failed (int, default to -1)
Trade: { (defaults to no restrictions)
override: GroupID (int, defaults to 100)
nodrop: true/false (boolean, defaults to false)
notrade: true/false (boolean, defaults to false)
partneroverride: true/false (boolean, defaults to false)
noselltonpc: true/false (boolean, defaults to false)
nocart: true/false (boolean, defaults to false)
nostorage: true/false (boolean, defaults to false)
nogstorage: true/false (boolean, defaults to false)
nomail: true/false (boolean, defaults to false)
noauction: true/false (boolean, defaults to false)
}
Nouse: { (defaults to no restrictions)
override: GroupID (int, defaults to 100)
sitting: true/false (boolean, defaults to false)
}
Stack: [amount, type] (int, defaults to 0)
Sprite: SpriteID (int, defaults to 0)
Script: <"
Script
(it can be multi-line)
">
OnEquipScript: <" OnEquip Script (can also be multi-line) ">
OnUnequipScript: <" OnUnequip Script (can also be multi-line) ">
OnDropScript: <" OnDrop Script (can also be multi-line) ">
OnTakeScript: <" OnTake Script (can also be multi-line) ">
OnInsertCardScript: <" OnInsert card Script (can also be multi-line) ">
AllowCards: {
idNUM: amount (NUM is id number, amount is amount)
}
AllowAmmo: {
idNUM: something (NUM is id number)
}
},
******************************************************************************/
/*
501 699 = Usable Items
700 999 = Generic Items
1000 1149 = Necklaces
1150 1299 = Charms
1300 1799 = Chest Armors
1800 1999 = Boots
2000 2199 = Gloves
2200 2499 = Pants
2500 2699 = Rings
2700 2899 = Shields
2900 3199 = Head Gears
3200 3499 = Neck Armors
3500 3999 = Melee Weapons
4000 4999 = Pets
5000 5999 = Cards
6000 6499 = Ranged Weapons
6500 6999 = Ammo
7000 7399 = Magical Weapons (MAtk weapons)
7400 9999 = Others
*/
{
Id: 501
AegisName: "Acorn"
Name: "Acorn"
Type: "IT_HEALING"
Buy: 20
Sell: 7
Weight: 3
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
if (@useType == 1) {
getmapxy(.@map$, .@x, .@y, 0);
if (rand(1,10) != 3) {
monster(.@map$, .@x, .@y, l("Oak"), 1017, 1);
$TREE_PLANTED+=+1;
callfunc "SaggyScoreUpdate", callfunc("rand2", 1, 2);
} else {
monster(.@map$, .@x, .@y, l("Not An Oak"), SpringSquirrel, 1);
}
} else {
callfunc("ItHeal2", 0, 1);
}
">
},
{
Id: 502
AegisName: "Bread"
Name: "Bread"
Type: "IT_HEALING"
Buy: 46
Sell: 17
Weight: 25
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
//sc_start SC_INCATKRATE, 10000, 100;
callfunc("ItHeal2", 1, 2);
">
},
{
Id: 503
AegisName: "Fungus"
Name: "Fungus"
Type: "IT_HEALING"
Buy: 45
Sell: 15
Weight: 8
Refine: false
Delay: 1000
UseEffect: "EFFECT_HEAL"
Script: <"
sc_end SC_POISON;
callfunc("ItHeal2", 1, 3);
">
},
{
Id: 504
AegisName: "Cheese"
Name: "Cheese"
Type: "IT_HEALING"
Buy: 55
Sell: 17
Weight: 3
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 3);
">
},
{
Id: 505
AegisName: "PiouLegs"
Name: "Piou Legs"
Type: "IT_HEALING"
Buy: 15
Sell: 5
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 2, 1);
">
},
{
Id: 506
AegisName: "LettuceLeaf"
Name: "Lettuce Leaf"
Type: "IT_HEALING"
Buy: 30
Sell: 10
Weight: 1
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 1);
">
},
{
Id: 507
AegisName: "Piberries"
Name: "Piberries"
Type: "IT_HEALING"
Buy: 20
Sell: 9
Weight: 2
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 3);
">
},
{
Id: 508
AegisName: "SeaDrops"
Name: "Sea Drops"
Type: "IT_HEALING"
Buy: 6
Sell: 2
Weight: 4
Refine: false
UseEffect: "EFFECT_HEAL"
Script: <"
if (rand(10000) < 1000)
sc_start SC_POISON, 7000, 0;
callfunc("ItHeal2", 1, 2);
">
},
{
Id: 509
AegisName: "Aquada"
Name: "Aquada"
Type: "IT_HEALING"
Buy: 120
Sell: 42
Weight: 16
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 5);
">
},
{
Id: 510
AegisName: "PinkBlobime"
Name: "Pink Blobime"
Type: "IT_HEALING"
Buy: 10
Sell: 4
Weight: 10
Refine: false
UseEffect: "EFFECT_HEAL"
Script: <"
sc_start2 SC_POISON, 1, 30, 3333;
callfunc("ItHeal2", 0, 2);
">
},
{
Id: 511
AegisName: "PurpleBlobime"
Name: "Purple Blobime"
Type: "IT_HEALING"
Buy: 20
Sell: 7
Weight: 10
Refine: false
UseEffect: "EFFECT_HEAL"
Script: <"
sc_start2 SC_POISON, 1, 30, 6666;
callfunc("ItHeal2", 0, 3);
">
},
{
Id: 512
AegisName: "HalfCroconut"
Name: "Half Croconut"
Type: "IT_HEALING"
Buy: 75
Sell: 26
Weight: 38
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 4);
">
},
{
Id: 513
AegisName: "Croconut"
Name: "Croconut"
Type: "IT_USABLE"
Buy: 100
Sell: 35
Weight: 80
Refine: false
Script: <"
doevent "Croconut::OnUse";
">
},
{
Id: 514
AegisName: "CaramelCandy"
Name: "Caramel Candy"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 3
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
@type = 0;
@rarity=1;
if ($@SEASON == WINTER) {
@rarity = 10;
}
doevent "rand_sc_heal::OnUse";
">
},
{
Id: 515
AegisName: "Plushroom"
Name: "Plushroom"
Type: "IT_HEALING"
Buy: 42
Sell: 5
Weight: 7
Refine: false
Delay: 1000
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("SC_Bonus", 15, SC_ATTHASTE_POTION1, 5);
callfunc("ItHeal", 3, 30, 60);
">
},
{
Id: 516
AegisName: "PumpkishJuice"
Name: "Pumpkish Juice"
Type: "IT_HEALING"
Buy: 200
Sell: 5
Weight: 5
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal", 4, 30, 50);
">
},
{
Id: 517
AegisName: "DeliciousCookie"
Name: "Delicious Cookie"
Type: "IT_ARMOR"
Buy: 30
Sell: 10
Weight: 2
Loc: "EQP_HEAD_MID"
EquipLv: 1
Refine: false
Trade: {
notrade: true
nodrop: true
noselltonpc: true
nogstorage: true
nomail: true
noauction: true
}
},
{
Id: 518
AegisName: "UrchinMeat"
Name: "Urchin Meat"
Type: "IT_HEALING"
Buy: 50
Sell: 18
Weight: 1
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 2, 8);
">
},
{
Id: 519
AegisName: "EasterEgg"
Name: "Easter Egg"
Type: "IT_HEALING"
Buy: 100
Sell: 20
Weight: 10
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
@type = 3;
@rarity=2;
if ($EVENT$ == "Easter") {
@rarity=6;
callfunc("SC_Bonus", 10, SC_INCHIT, 10);
}
doevent "rand_sc_heal::OnUse";
">
},
{
Id: 520
AegisName: "PiberriesInfusion"
Name: "Piberries Infusion"
Type: "IT_HEALING"
Buy: 140
Sell: 47
Weight: 15
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 4, 2);
">
},
{
Id: 521
AegisName: "FatesPotion"
Name: "Fates Potion"
Type: "IT_HEALING"
Buy: 250
Sell: 84
Weight: 17
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 4, 4);
">
},
{
Id: 522
AegisName: "ClothoLiquor"
Name: "Clotho Liquor"
Type: "IT_HEALING"
Buy: 600
Sell: 200
Weight: 16
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 4, 6);
">
},
{
Id: 523
AegisName: "LachesisBrew"
Name: "Lachesis Brew"
Type: "IT_HEALING"
Buy: 1000
Sell: 330
Weight: 14
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 4, 8);
">
},
{
Id: 524
AegisName: "AtroposMixture"
Name: "Atropos Mixture"
Type: "IT_HEALING"
Buy: 2450
Sell: 815
Weight: 15
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 4, 10);
">
},
{
Id: 525
AegisName: "ElixirOfLife"
Name: "Elixir Of Life"
Type: "IT_HEALING"
Buy: 50000
Sell: 500
Weight: 20
Refine: false
Delay: 1000
UseEffect: "EFFECT_HEAL"
Script: <"
sc_end SC_STONE;
sc_end SC_FREEZE;
sc_end SC_STUN;
sc_end SC_SLEEP;
sc_end SC_POISON;
sc_end SC_CURSE;
sc_end SC_SILENCE;
sc_end SC_CONFUSION;
sc_end SC_BLIND;
sc_end SC_BLOODING; // FIXME: Failing?
sc_end SC_DPOISON;
sc_end SC_FEAR;
sc_end SC_COLD;
sc_end SC_BURNING;
sc_end SC_DEEP_SLEEP;
sc_end SC_DEC_AGI;
sc_end SC_FROSTMISTY;
sc_end SC_VENOMBLEED;
sc_end SC_HALT_REGENERATION;
percentheal 100, 100;
callfunc("SC_Bonus", 180, SC_KAIZEL, 1); // Revives with 1% HP if you die
// Protects you for 30 seconds from map ailments
@coolio=max(gettimetick(2), @coolio)+30;
@sickio=max(gettimetick(2), @sickio)+30;
@purifio=max(gettimetick(2), @purifio)+30;
@bleedio=max(gettimetick(2), @bleedio)+30;
">
},
{
Id: 526
AegisName: "IronShovel"
Name: "Iron Shovel"
Type: "IT_USABLE"
Buy: 5000
Sell: 750
Weight: 210
Refine: false
KeepAfterUse: true
Script: <"
if (@useType == 1) {
doevent "Shovel::OnBury";
} else {
doevent "Shovel::OnDig";
}
">
},
{
Id: 527
AegisName: "SteelShovel"
Name: "Steel Shovel"
Type: "IT_USABLE"
Buy: 30000
Sell: 10000
Weight: 210
Refine: false
KeepAfterUse: true
Script: <"
if (@useType == 1) {
doevent "Shovel::OnBury";
} else {
doevent "Shovel::OnDig";
}
">
},
{
Id: 528
AegisName: "Manana"
Name: "Manana"
Type: "IT_HEALING"
Buy: 100
Sell: 35
Weight: 10
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 2);
">
},
{
Id: 529
AegisName: "Curshroom"
Name: "Curshroom"
Type: "IT_HEALING"
Buy: 150
Sell: 25
Weight: 10
Refine: false
Delay: 1000
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("SC_Bonus", 30, SC_INCATKRATE, 10);
//callfunc("SC_Bonus", 30, SC_ATTHASTE_POTION1, 5);
sc_end SC_POISON;
callfunc("ItHeal2", 1, 9);
">
},
{
Id: 530
AegisName: "Carrot"
Name: "Carrot"
Type: "IT_HEALING"
Buy: 300
Sell: 80
Weight: 3
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
@type = 1;
@rarity=3;
if ($EVENT$ == "Easter" || $EVENT$ == "Valentine") {
@rarity=9;
}
doevent "rand_sc_heal::OnUse";
">
},
{
Id: 531
AegisName: "RedPlushWine"
Name: "Red Plush Wine"
Type: "IT_HEALING"
Buy: 400
Sell: 110
Weight: 10
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
@taste = 25;
@Alcohol = 16;
doevent "alcohol_sc::OnUse";
">
},
{
Id: 532
AegisName: "DwarvenSake"
Name: "Dwarven Sake"
Type: "IT_HEALING"
Buy: 800
Sell: 220
Weight: 14
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
@taste = 50;
@Alcohol = 25;
doevent "alcohol_sc::OnUse";
">
},
{
Id: 533
AegisName: "CrazyRum"
Name: "Crazy Rum"
Type: "IT_HEALING"
Buy: 1600
Sell: 440
Weight: 25
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
@taste = 70;
@Alcohol = 40;
doevent "alcohol_sc::OnUse";
">
},
{
Id: 534
AegisName: "WhiskeyAle"
Name: "Whiskey Ale"
Type: "IT_HEALING"
Buy: 3200
Sell: 880
Weight: 55
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
@taste = 100;
@Alcohol = 70;
doevent "alcohol_sc::OnUse";
">
},
{
Id: 535
AegisName: "JesusalvaGrimorium"
Name: "Jesusaves's Grimorium"
Type: "IT_USABLE"
Buy: 64000
Sell: 1
Weight: 25
KeepAfterUse: true
Refine: false
Trade: {
notrade: true
nodrop: true
noselltonpc: true
nogstorage: true
nomail: true
noauction: true
}
Script: <"
doevent "#Book-JGrimorium::OnUse";
">
},
{
Id: 536
AegisName: "PetcaringGuide"
Name: "Fluffy Animals who Love Their Owners"
Type: "IT_USABLE"
Buy: 70
Sell: 10
Weight: 20
KeepAfterUse: true
Script: <"
doevent "#Book-Petcaring::OnUse";
">
},
{
Id: 537
AegisName: "BookOfLaws"
Name: "The Book of Laws"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 10
KeepAfterUse: true
Refine: false
Script: <"
doevent "@rules::OnUseBook";
">
},
{
Id: 538
AegisName: "FishingGuideVolI"
Name: "Fishing Guide Vol. I"
Type: "IT_USABLE"
Buy: 60
Sell: 10
Weight: 30
KeepAfterUse: true
Refine: false
Script: <"
doevent "#Book-Fishing1::OnUse";
">
},
{
Id: 539
AegisName: "RoastedMaggot"
Name: "Roasted Maggot"
Type: "IT_HEALING"
Buy: 110
Sell: 55
Weight: 5
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 2, 3);
">
},
{
Id: 540
AegisName: "RedApple"
Name: "Red Apple"
Type: "IT_HEALING"
Buy: 99
Sell: 8
Weight: 5
Refine: false
Delay: 400
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 4);
">
},
{
Id: 541
AegisName: "CactusPotion"
Name: "Cactus Potion"
Type: "IT_HEALING"
Buy: 70
Sell: 35
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 4);
">
},
{
Id: 542
AegisName: "CactusDrink"
Name: "Cactus Drink"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 3);
">
},
{
Id: 543
AegisName: "ApanaCake"
Name: "Apana Cake"
Type: "IT_HEALING"
Buy: 50
Sell: 10
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 3, 9, 5);
">
},
{
Id: 544
AegisName: "Beer"
Name: "Beer"
Type: "IT_HEALING"
Buy: 195
Sell: 55
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
@taste = 10;
@Alcohol = 7;
doevent "alcohol_sc::OnUse";
">
},
{
Id: 545
AegisName: "Blueberries"
Name: "Blueberries"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
@type = 0;
@rarity=1;
if ($EVENT$ == "SPRING") {
@rarity=10;
}
doevent "rand_sc_heal::OnUse";
">
},
{
Id: 546
AegisName: "Candy"
Name: "Candy"
Type: "IT_HEALING"
Buy: 75
Sell: 25
Weight: 1
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 0, 2);
">
},
{
Id: 547
AegisName: "BottleOfSeaWater"
Name: "Bottle Of Sea Water"
Type: "IT_HEALING"
Buy: 80
Sell: 35
Weight: 70
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 4);
if (rand(1,8) != 4)
getitem EmptyBottle, 1;
">
},
{
Id: 548
AegisName: "CandyCane"
Name: "Candy Cane"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 0, 4);
">
},
{
Id: 549
AegisName: "Cherry"
Name: "Cherry"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 4);
">
},
{
Id: 550
AegisName: "CherryCake"
Name: "Cherry Cake"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 2, 4);
">
},
{
Id: 551
AegisName: "ChickenLeg"
Name: "Chicken Leg"
Type: "IT_HEALING"
Buy: 200
Sell: 65
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 2, 5);
">
},
{
Id: 552
AegisName: "ChocolateMouboo"
Name: "Chocolate Mouboo"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 12
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 5, rand(1,8));
">
},
{
Id: 553
AegisName: "GingerBreadMan"
Name: "Ginger Bread Man"
Type: "IT_HEALING"
Buy: 50
Sell: 20
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
@type = 0;
@rarity=4;
if ($@SEASON == WINTER) {
@rarity=10;
}
doevent "rand_sc_heal::OnUse";
">
},
{
Id: 554
AegisName: "GoldenApple"
Name: "Golden Apple"
Type: "IT_HEALING"
Buy: 50000
Sell: 5000
Weight: 7
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
// Gives you 5 extra minutes of cooldown
@bleedio=max(gettimetick(2), @bleedio)+300;
@delay = rand(30,90);
@type = 4;
@rarity=6;
doevent "rand_sc_heal::OnUse";
">
},
{
Id: 555
AegisName: "JarOfBlood"
Name: "Jar Of Blood"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 4);
">
},
{
Id: 556
AegisName: "JellyBeans"
Name: "Jelly Beans"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 0, 4);
">
},
{
Id: 557
AegisName: "RecipeBook"
Name: "Recipe Book"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 20
KeepAfterUse: true
Trade: {
notrade: true
nodrop: true
noselltonpc: true
nogstorage: true
nomail: true
noauction: true
}
Script: <"
doevent "#RecipeBook::OnUse";
">
},
{
Id: 558
AegisName: "Mashmallow"
Name: "Mashmallow"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 0, 7);
">
},
{
Id: 559
AegisName: "Milk"
Name: "Milk"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 4);
">
},
{
Id: 560
AegisName: "Orange"
Name: "Orange"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal", 3, 75, 120);
">
},
{
Id: 561
AegisName: "OrangeCupcake"
Name: "Orange Cupcake"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal", 2, 200, 400);
">
},
{
Id: 562
AegisName: "Pear"
Name: "Pear"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 4);
">
},
{
Id: 563
AegisName: "Honey"
Name: "Honey"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 4);
">
},
{
Id: 564
AegisName: "PumpkinJuice"
Name: "Pumpkin Juice"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 4);
">
},
{
Id: 565
AegisName: "PumpkinSeed"
Name: "Pumpkin Seed"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 2);
">
},
{
Id: 566
AegisName: "BigPumpkinSeed"
Name: "Big Pumpkin Seed"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 3);
">
},
{
Id: 567
AegisName: "SkullBloodyMug"
Name: "Skull Bloody Mug"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal", 3, 4);
">
},
{
Id: 568
AegisName: "DeathPotion"
Name: "Death Potion"
Type: "IT_USABLE"
Buy: 5000
Sell: 250
Weight: 25
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc "die";
">
},
{
Id: 569
AegisName: "SmallMushroom"
Name: "Small Mushroom"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 5);
">
},
{
Id: 570
AegisName: "MoubooSteak"
Name: "Mouboo Steak"
Type: "IT_HEALING"
Buy: 200
Sell: 65
Weight: 75
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 2, 5);
">
},
{
Id: 571
AegisName: "TonoriDelight"
Name: "Tonori Delight"
Type: "IT_HEALING"
Buy: 50
Sell: 20
Weight: 2
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
@type = 3;
@rarity=2;
.@val=rand(32,96);
// Re-roll
if (.@val > 64)
.@val=rand(32,96);
itemheal 0, .@val;
callfunc("SC_Bonus", 10, SC_ATTHASTE_POTION1, 3);
doevent "rand_sc_heal::OnUse";
">
},
{
Id: 572
AegisName: "XmasCake"
Name: "Xmas Cake"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 5
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
@min = 100;
@max = 400;
if ($EVENT$ == "Christmas") {
@min=300;
@max=1200;
}
@delay = 3;
doevent "legacy_heal::OnUse";
">
},
{
Id: 573
AegisName: "XmasCandyCane"
Name: "Xmas Candy Cane"
Type: "IT_HEALING"
Buy: 50
Sell: 18
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
@min = 80;
@max = 350;
if ($EVENT$ == "Christmas") {
@min=240;
@max=1050;
}
@delay = 4;
@type = 1;
doevent "legacy_heal::OnUse";
">
},
{
Id: 574
AegisName: "ZombieNachos"
Name: "Zombie Nachos"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 2, 1);
">
},
{
Id: 583
AegisName: "ChocolateBiscuit"
Name: "Chocolate Biscuit"
Type: "IT_HEALING"
Buy: 50
Sell: 25
Weight: 5
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 9);
">
},
{
Id: 584
AegisName: "ChocolateBar"
Name: "Chocolate Bar"
Type: "IT_HEALING"
Buy: 90
Sell: 40
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 0, 9);
">
},
{
Id: 585
AegisName: "CaveSnakeEgg"
Name: "Cave Snake Egg"
Type: "IT_HEALING"
Buy: 100
Sell: 50
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 2, 4);
">
},
{
Id: 586
AegisName: "SmokeGrenade"
Name: "SmokeGrenade"
Type: "IT_USABLE"
Buy: 700
Sell: 350
Weight: 40
Refine: false
Delay: 500
UseEffect: "FX_SMOKEBOMB"
Script: <"
callfunc "areasc", 3, 800+(BaseLevel*30), SC_SLEEP, BL_MOB;
//itemskill AS_CLOAKING,1,1;
//itemskill SM_MAGNUM,1;
// Fallback: ~~TF_HIDING AS_CLOAKING SC_INVISIBILITY RA_CAMOUFLAGE~~ None work?
//itemskill(, 1, 1);
">
},
{
Id: 587
AegisName: "BugLeg"
Name: "Bug Leg"
Type: "IT_HEALING"
Buy: 30
Sell: 10
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal", 1, 8, 14);
">
},
{
Id: 588
AegisName: "Toothbrush"
Name: "Toothbrush"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 1
KeepAfterUse: false
Refine: false
Trade: {
notrade: true
noselltonpc: true
nocart: true
nostorage: false
nogstorage: true
nomail: true
noauction: true
}
Script: <"
announce l("@@ has the clear smile of victory!", strcharinfo(0)), bc_all;
.@r=rand(1,5);
if (.@r % 2 == 1)
getitem StrangeCoin, 10;
else
getitem BronzeGift, 1;
">
},
{
Id: 589
AegisName: "BronzeGift"
Name: "Bronze Gift"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 25
KeepAfterUse: false
Refine: false
Trade: {
noselltonpc: true
nogstorage: true
nomail: true
noauction: true
}
Script: <"
setarray .@r, StrangeCoin, StrangeCoin, StrangeCoin, StrangeCoin, SharpKnife, RedApple, Cheese, Aquada, BronzeGladius, Aquada, Lockpicks, IronAmmoBox, ArrowAmmoBox, ElixirOfLife;
.@n=rand(getarraysize(.@r));
if (.@n > 3)
getitem .@r[.@n], 1;
else
getitem .@r[.@n], rand(5,10);
">
},
{
Id: 590
AegisName: "SilverGift"
Name: "Silver Gift"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 45
KeepAfterUse: false
Refine: false
Trade: {
noselltonpc: true
nogstorage: true
nomail: true
noauction: true
}
Script: <"
setarray .@r, StrangeCoin, StrangeCoin, StrangeCoin, StrangeCoin, StrangeCoin, SnakeEgg, StrengthPotion, HastePotion, Dagger, Wurtzite, RedPlushWine, MoubooSteak, IronOre, CelestiaTea, CursedAmmoBox, IronAmmoBox, SilverRing;
.@n=rand(getarraysize(.@r));
if (.@n > 4)
getitem .@r[.@n], 1;
else
getitem .@r[.@n], rand(9,21);
">
},
{
Id: 591
AegisName: "GoldenGift"
Name: "Golden Gift"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 65
KeepAfterUse: false
Refine: false
Trade: {
noselltonpc: true
nogstorage: true
nomail: true
noauction: true
}
Script: <"
setarray .@r, StrangeCoin, StrangeCoin, CasinoCoins, IronIngot, SaxsoKey, GoldenApple, GoldenRing, GoldOre, Graphene, PoisonAmmoBox, CursedAmmoBox, MercBoxA, AncientBlueprint, HeadHood, SacredLifePotion, SacredManaPotion;
.@n=rand(getarraysize(.@r));
if (.@n > 2)
getitem .@r[.@n], 1;
else
getitem .@r[.@n], rand(20,40);
">
},
{
Id: 592
AegisName: "PrismGift"
Name: "Prism Gift"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 85
KeepAfterUse: false
Refine: false
Trade: {
nodrop: true
noselltonpc: true
nogstorage: true
nomail: true
noauction: true
}
Script: <"
setarray .@r, StrangeCoin, StrangeCoin, IronIngot, CopperIngot, TinIngot, SilverIngot, GoldIngot, PlatinumOre, IridiumOre, TitaniumOre, LeadOre, FourLeafClover, MercBoxB, MercBoxC, ThornAmmoBox, PoisonAmmoBox, PolishedDiamond, PolishedRuby, PolishedEmerald, PolishedSapphire, PolishedAmethyst, PolishedTopaz, SacredLifePotion, SacredManaPotion, SacredImmortalityPotion, AncientBlueprint, ArcmageBoxset, MysteriousFruit, MercBoxD, MercBoxE;
.@n=rand(getarraysize(.@r));
if (.@n > 1)
getitem .@r[.@n], 1;
else
getitem .@r[.@n], rand(40,60);
">
},
{
Id: 593
AegisName: "SupremeGift"
Name: "Supreme Gift"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 115
KeepAfterUse: false
Refine: false
Trade: {
nodrop: true
noselltonpc: true
nogstorage: true
nomail: true
noauction: true
}
Script: <"
setarray .@r, StrangeCoin, StrangeCoin, StrangeCoin, Googles, BlueManaPearl, BlackPearl, Bloodstone, LavaManaPearl, SaviorBlueprint, DivineApple, BowlerHat, Butterfly, BoneAmmoBox, CrystallizedMaggot, MylarinDust, MercBoxDD, MercBoxE, MysteriousFruit, MercBoxEE;
.@n=rand(getarraysize(.@r));
if (.@n > 2)
getitem .@r[.@n], 1;
else
getitem .@r[.@n], rand(67,88);
">
},
{
Id: 594
AegisName: "DesertTablet"
Name: "Desert Tablet"
Type: "IT_USABLE"
Buy: 90000
Sell: 10000
Weight: 860
// For the moment yes, but will be removed when quest is released
KeepAfterUse: true
Refine: false
Script: <"
dispbottom l("Impossible to read.");
">
},
{
Id: 595
AegisName: "BottleOfDivineWater"
Name: "Bottle Of Divine Water"
Type: "IT_HEALING"
Buy: 500
Sell: 50
Weight: 69
Refine: false
Delay: 400
UseEffect: "EFFECT_HEAL"
Script: <"
@type = 1;
@rarity=10;
// Effect up on Aeros
getmapxy(.@ma$,.@xa,.@ya,0);
if (strpos(.@ma$, "001-") >= 0)
@type=3;
doevent "rand_sc_heal::OnUse";
getitem EmptyBottle, 1;
">
},
{
Id: 596
AegisName: "BottleOfTonoriWater"
Name: "Bottle Of Tonori Water"
Type: "IT_HEALING"
Buy: 400
Sell: 70
Weight: 70
Refine: false
Delay: 450
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal", 3, 180, 800);
if (rand(1,7) != 4)
getitem EmptyBottle, 1;
">
},
{
Id: 597
AegisName: "ChocolateBunny"
Name: "Chocolate Bunny"
Type: "IT_HEALING"
Buy: 400
Sell: 100
Weight: 96
Refine: false
Delay: 800
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 6);
">
},
{
Id: 598
AegisName: "DivineApple"
Name: "Divine Apple"
Type: "IT_HEALING"
Buy: 40000
Sell: 10000
Weight: 16
Refine: false
Delay: 100
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 4, 7);
">
},
{
Id: 599
AegisName: "SnakeEgg"
Name: "Snake Egg"
Type: "IT_HEALING"
Buy: 400
Sell: 70
Weight: 8
Refine: false
Delay: 800
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 2, 5);
">
},
{
Id: 600
AegisName: "MountainSnakeEgg"
Name: "Moutain Snake Egg"
Type: "IT_HEALING"
Buy: 400
Sell: 80
Weight: 9
Refine: false
Delay: 800
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 2, 6);
">
},
{
Id: 601
AegisName: "Chagashroom"
Name: "Chagashroom"
Type: "IT_HEALING"
Buy: 42
Sell: 13
Weight: 7
Refine: false
Delay: 1000
UseEffect: "EFFECT_HEAL"
Script: <"
// SC_PLUSATTACKPOWER is not caught by client but works.
// SC_STRUP is caught by client, but raises STR in a weird way.
// SC_INCATKRATE works best of all ^.^
callfunc("SC_Bonus", 15, SC_PLUSATTACKPOWER, 5);
callfunc("ItHeal", 3, 30, 60);
">
},
{
Id: 602
AegisName: "PinkieLeg"
Name: "Pinkie Leg"
Type: "IT_HEALING"
Buy: 35
Sell: 15
Weight: 12
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal", 6, 45, 75);
">
},
{
Id: 603
AegisName: "HastePotion"
Name: "Haste Potion"
Type: "IT_USABLE"
Buy: 820
Sell: 240
Weight: 12
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("SC_Bonus", 45, SC_ATTHASTE_POTION1, 30);
">
},
{
Id: 604
AegisName: "StrengthPotion"
Name: "Strength Potion"
Type: "IT_USABLE"
Buy: 820
Sell: 240
Weight: 12
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("SC_Bonus", 45, SC_PLUSATTACKPOWER, 30);
">
},
{
Id: 605
AegisName: "BottleOfSewerWater"
Name: "Bottle Of Sewer Water"
Type: "IT_HEALING"
Buy: 40
Sell: 20
Weight: 65
Refine: false
Delay: 450
UseEffect: "EFFECT_HEAL"
Script: <"
// Read the documentation, Saulc
// Example:
// This will poison the invoking character for 10 minutes at 50% chance.
// sc_start(SC_POISON, 600000, 0, 5000);
// Usage:
// sc_start(, , {, , {, }})
sc_start SC_POISON, 9000, 0, 3200;
callfunc("ItHeal", 3, 18, 40);
getitem EmptyBottle, 1;
">
},
{
Id: 606
AegisName: "PirateTreasureMap"
Name: "Pirate Treasure Map"
Type: "IT_USABLE"
Buy: 450000
Sell: 5000
Weight: 14
KeepAfterUse: true
Refine: false
Script: <"
dispbottom ("Illegible. We should ask a pirate about this.");
callfunc "compareandsetq", HurnscaldQuest_PirateCave, 0, 1;
">
},
{
Id: 607
AegisName: "MysteriousBottle"
Name: "Mysterious Bottle"
Type: "IT_USABLE"
Buy: 500
Sell: 100
Weight: 25
KeepAfterUse: false
Refine: false
Script: <"
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
setarray .@r, StrangeCoin, SilkCocoon, MushroomSpores, RattoTeeth, BottleOfSeaWater, SpellBookPage, SpellBookPage, AncientBlueprint, SpellBookPage, PirateTreasureMap, TreasureKey, GrassCarp, CottonCloth, CasinoCoins, CrazyRum, Pearl;
.@n=rand(getarraysize(.@r));
if (.@n > 3)
getitem .@r[.@n], 1;
else
getitem .@r[.@n], rand(1,3);
">
},
{
Id: 608
AegisName: "CelestiaTea"
Name: "Celestia Tea"
Type: "IT_HEALING"
Buy: 28000
Sell: 60
Weight: 20
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
percentheal -50, 100;
itemheal -1, 0;
">
},
{
Id: 609
AegisName: "CactusCocktail"
Name: "Cactus Cocktail"
Type: "IT_HEALING"
Buy: 300
Sell: 3
Weight: 12
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
@min = 90;
@max = 260;
if ($@SEASON == SUMMER) {
@min = 270;
@max = 780;
}
@delay = 3;
doevent "legacy_heal::OnUse";
">
},
{
Id: 610
AegisName: "AppleCocktail"
Name: "Apple Cocktail"
Type: "IT_HEALING"
Buy: 300
Sell: 5
Weight: 13
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
@min = 130;
@max = 307;
if ($@SEASON == SUMMER) {
@min = 390;
@max = 921;
}
@delay = 3;
doevent "legacy_heal::OnUse";
">
},
{
Id: 611
AegisName: "CherryCocktail"
Name: "Cherry Cocktail"
Type: "IT_HEALING"
Buy: 300
Sell: 10
Weight: 14
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
@min = 165;
@max = 395;
if ($@SEASON == SUMMER) {
@min = 495;
@max = 1185;
}
@delay = 3;
doevent "legacy_heal::OnUse";
">
},
{
Id: 612
AegisName: "FriendGift"
Name: "Friend Gift"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 0
KeepAfterUse: false
Refine: false
Trade: {
notrade: true
nodrop: true
noselltonpc: true
nogstorage: true
nomail: true
noauction: true
}
Script: <"
if (BaseLevel < 5) {
dispbottom l("You must reach level 5 to open this gift.");
getitembound FriendGift, 1, 1;
} else {
getitem ScorpionStinger, rand(1,3);
getitem BugLeg, rand(1,3);
getitem MaggotSlime, rand(1,3);
Zeny=Zeny+50;
if (rand(1,2) == 1)
getitem Beer, 1;
else
getitem CottonCloth, 1;
.@it=PiouLegs;
switch(rand(1,3)) {
case 1:
.@it=PiouLegs;break;
case 2:
.@it=Piberries;break;
case 3:
.@it=Cheese;break;
}
getitem .@it, rand(2,3);
dispbottom l("Dear @@, I send you this gift in hopes you do well in TMW2.", strcharinfo(0));
//rodex_sendmail_acc(#REFERRAL_PROG, "TMW2 Team", "Invite Accepted", strcharinfo(0)+" accepted your invite and got level 5!\nThe one who invites most will win the recruitment event!", rand(50,150));
$REFERRAL_IDS[#REFERRAL_PROG]=$REFERRAL_IDS[#REFERRAL_PROG]+1;
// I can't warrant this won't break stuff so I left commented out
//message(#REFERRAL_PROG, strcharinfo(0)+" accepted your invite to play TMW2.");
.@charid=callfunc("gf_charid", #REFERRAL_PROG);
rodex_sendmail(.@charid, "TMW2 Team", "Invite Accepted", strcharinfo(0)+" accepted your invite and got level 5!\nAs they get stronger, more rewards will be sent to you!", rand(25,50));
}
">
},
{
Id: 613
AegisName: "BlackMambaEgg"
Name: "Black Mamba Egg"
Type: "IT_HEALING"
Buy: 200
Sell: 20
Weight: 4
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 2, 7);
">
},
{
Id: 614
AegisName: "TimeFlask"
Name: "Time Flask"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 40
KeepAfterUse: true
Refine: false
Trade: {
notrade: true
nodrop: true
noselltonpc: true
nogstorage: true
nomail: true
noauction: true
}
Script: <"
doevent "LoF Teleporter::OnUse";
">
},
{
Id: 615
AegisName: "HerbalTea"
Name: "Nightshade Tea"
Type: "IT_USABLE"
Buy: 1240
Sell: 480
Weight: 12
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("SC_Bonus", 90, SC_ATTHASTE_POTION1, 70); // 70% bonus
if (rand(10000) < 6000)
sc_start callfunc("any", SC_POISON, SC_SILENCE, SC_POISON, SC_CONFUSE, SC_POISON, SC_POISON), rand(20000, 40000), 0;
itemheal 0, rand(10,200);
">
},
{
Id: 616
AegisName: "BottleOfWoodlandWater"
Name: "Bottle Of Woodland Water"
Type: "IT_HEALING"
Buy: 400
Sell: 80
Weight: 70
Refine: false
Delay: 450
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal", 3, 300, 700);
if (rand(1,7) != 4)
getitem EmptyBottle, 1;
">
},
{
Id: 617
AegisName: "FertilizedSpores"
Name: "Fertilized Spores"
Type: "IT_USABLE"
Buy: 100
Sell: 10
Weight: 2
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
switch (rand(1,3)) {
case 1:
.@mid=CloverPatch;
break;
case 2:
.@mid=ChagashroomField;
break;
default:
.@mid=PlushroomField;
break;
}
.@am=rand(1,2);
.@name$=strmobinfo(1, .@mid);
if (@useType == 1) {
if (!getmapxy(.@map$, .@x, .@y, 0)) {
monster(.@map$, .@x, .@y, .@name$, .@mid, .@am);
}
}
">
},
{
Id: 618
AegisName: "Potatoz"
Name: "Potatoz"
Type: "IT_HEALING"
Buy: 200
Sell: 20
Weight: 88
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal2", 1, 4);
">
},
{
Id: 619
AegisName: "Manapple"
Name: "Manapple"
Type: "IT_HEALING"
Buy: 20000
Sell: 5000
Weight: 10
Refine: false
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc "MPHeal", 3, 320, 992;
callfunc("ItHeal2", 4, 6);
">
},
{
Id: 620
AegisName: "Lockpicks"
Name: "Lockpicks"
Type: "IT_USABLE"
Buy: 1000
Sell: 50
Weight: 20
Refine: false
KeepAfterUse: true
Script: <"
dispbottom l("Lockpicks are the basic tools for thiefs. Talk to a vault in order to attempt lockpicking.");
">
},
{
Id: 621
AegisName: "Lawncandy"
Name: "Lawncandy"
Type: "IT_HEALING"
Buy: 75
Sell: 26
Weight: 2
Refine: false
Delay: 400
UseEffect: "EFFECT_HEAL"
Script: <"
@min = 33;
@max = 99;
if ($@SEASON == AUTUMN) {
@min = 330;
@max = 990;
}
@delay = 3;
doevent "legacy_heal::OnUse";
">
},
{
Id: 622
AegisName: "Saulcandy"
Name: "Saulcandy"
Type: "IT_HEALING"
Buy: 75
Sell: 30
Weight: 2
Refine: false
Delay: 400
UseEffect: "EFFECT_HEAL"
Script: <"
@min = 33;
@max = 99;
if ($@SEASON == AUTUMN) {
@min = 330;
@max = 990;
}
@delay = 3;
doevent "legacy_heal::OnUse";
">
},
{
Id: 623
AegisName: "Poocandy"
Name: "Poocandy"
Type: "IT_HEALING"
Buy: 75
Sell: 18
Weight: 2
Refine: false
Delay: 400
UseEffect: "EFFECT_HEAL"
Script: <"
@min = 33;
@max = 99;
if ($@SEASON == AUTUMN) {
@min = 330;
@max = 990;
}
@delay = 3;
doevent "legacy_heal::OnUse";
">
},
{
Id: 624
AegisName: "PumpkandySeed"
Name: "Pumpkandy Seed"
Type: "IT_USABLE"
Buy: 50
Sell: 5
Weight: 1
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
if (!getmapxy(.@map$, .@x, .@y, 0)) {
monster(.@map$, .@x, .@y, l("Pumpkandy"), Pumpkandy, 1);
if ($EVENT$ == "Halloween")
monster(.@map$, .@x, .@y, l("Pumpkandy"), Pumpkandy, 1);
}
">
},
{
Id: 625
AegisName: "SmallChocolateBar"
Name: "Small Chocolate Bar"
Type: "IT_HEALING"
Buy: 42
Sell: 13
Weight: 1
Refine: false
Delay: 1000
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("ItHeal", 2, 70, 150);
">
},
{
Id: 626
AegisName: "PumpkinLollipop"
Name: "Pumpkin Lollipop"
Type: "IT_HEALING"
Buy: 42
Sell: 13
Weight: 1
Refine: false
Delay: 1000
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("SC_Bonus", 17, SC_ATTHASTE_POTION1, 10);
callfunc("ItHeal", 4, 40, 70);
">
},
{
Id: 627
AegisName: "LoveLollipop"
Name: "Love Lollipop"
Type: "IT_HEALING"
Buy: 42
Sell: 13
Weight: 1
Refine: false
Delay: 1000
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("SC_Bonus", 17, SC_PLUSATTACKPOWER, 5);
@min = 1;
@max = rand(100, 500);
@delay = 4;
doevent "legacy_heal::OnUse";
">
},
{
Id: 628
AegisName: "Manapop"
Name: "Manapop"
Type: "IT_HEALING"
Buy: 42
Sell: 13
Weight: 1
Refine: false
Delay: 1000
UseEffect: "EFFECT_HEAL"
Script: <"
callfunc("MPHeal", 3, 9, 30); // delay, min, max
@min = 1;
@max = rand(250, 500);
@delay = 4;
doevent "legacy_heal::OnUse";
">
},
{
Id: 629
AegisName: "ScholarshipTuition"
Name: "Scholarship Tuition"
Type: "IT_USABLE"
Buy: 250000
Sell: 7500
Weight: 1
Refine: false
Trade: {
notrade: true
nodrop: true
noselltonpc: true
nomail: true
noauction: true
}
Script: <"
callfunc("AutoTitulate");
">
},
{
Id: 630
AegisName: "XmasGift"
Name: "Christmas Gift"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 25
KeepAfterUse: false
Refine: false
Trade: {
noselltonpc: true
}
Script: <"
setarray .@s, SantaGlobe, SnowmanGlobe, UglyChristmasSweater, MercBoxB, IceGladius;
setarray .@r, SantaGlobe, SnowmanGlobe, UglyChristmasSweater, TneckSweater, MercBoxA, MercBoxA, MercBoxB, ElixirOfLife, NoviceWand, LeadOre, DarkDesertMushroom;
setarray .@c, BronzeGift, IcedBottle, TneckSweater, MercBoxA, MercBoxA, ClothoLiquor, Dagger, Coal, HastePotion, HerbalTea, StrengthPotion, TrainingWand;
.@al=rand(0,100);
// 1% super rare chance
if (.@al < 1) {
.@n=rand(getarraysize(.@s));
getitem .@s[.@n], 1;
// 26% rare chance
} else if (rand(0,100) < 27) {
.@n=rand(getarraysize(.@r));
getitem .@r[.@n], 1;
} else {
.@n=rand(getarraysize(.@c));
getitem .@c[.@n], 1;
}
">
},
{
Id: 631
AegisName: "EmptyBox"
Name: "Empty Box"
Type: "IT_USABLE"
Buy: 25
Sell: 5
Weight: 80
Refine: false
KeepAfterUse: true
Script: <"
doevent "Empty Box#it::OnUse";
">
},
{
Id: 632
AegisName: "TolchiAmmoBox"
Name: "Tolchi Ammo Box"
Type: "IT_USABLE"
Buy: 250
Sell: 100
Weight: 215
Refine: false
Script: <"
getitem TolchiArrow, rand(190, 210);
">
},
{
Id: 633
AegisName: "TrainingAmmoBox"
Name: "Training Ammo Box"
Type: "IT_USABLE"
Buy: 350
Sell: 100
Weight: 215
Refine: false
Script: <"
getitem TrainingArrow, rand(190, 210);
">
},
{
Id: 634
AegisName: "ArrowAmmoBox"
Name: "Arrow Ammo Box"
Type: "IT_USABLE"
Buy: 450
Sell: 100
Weight: 215
Refine: false
Script: <"
getitem Arrow, rand(190, 210);
">
},
{
Id: 635
AegisName: "IronAmmoBox"
Name: "Iron Ammo Box"
Type: "IT_USABLE"
Buy: 600
Sell: 100
Weight: 215
Refine: false
Script: <"
getitem IronArrow, rand(190, 210);
">
},
{
Id: 636
AegisName: "CursedAmmoBox"
Name: "Cursed Ammo Box"
Type: "IT_USABLE"
Buy: 750
Sell: 200
Weight: 215
Refine: false
Script: <"
getitem CursedArrow, rand(190, 210);
">
},
{
Id: 637
AegisName: "PoisonAmmoBox"
Name: "Poison Ammo Box"
Type: "IT_USABLE"
Buy: 1150
Sell: 300
Weight: 430
Refine: false
Script: <"
getitem PoisonArrow, rand(190, 210);
">
},
{
Id: 638
AegisName: "ThornAmmoBox"
Name: "Thorn Ammo Box"
Type: "IT_USABLE"
Buy: 1750
Sell: 400
Weight: 430
Refine: false
Script: <"
getitem ThornArrow, rand(190, 210);
">
},
{
Id: 639
AegisName: "BoneAmmoBox"
Name: "Bone Ammo Box"
Type: "IT_USABLE"
Buy: 3650
Sell: 800
Weight: 1100
Refine: false
Script: <"
getitem BoneArrow, rand(190, 210);
">
},
{
Id: 640
AegisName: "ReturnPotion"
Name: "Return Potion"
Type: "IT_USABLE"
Buy: 1800
Sell: 0
Weight: 11
Refine: false
Delay: 30000
UseEffect: 64
Script: <"
// We would want warp to be delayed a bit but meh
sleep2(rand(1000,2500));
@timer_navio_running=0;
warp "Save", 0, 0;
">
},
{
Id: 641
AegisName: "BoxOfChocolates"
Name: "Box Of Chocolates"
Type: "IT_USABLE"
Buy: 3700
Sell: 0
Weight: 11
Refine: false
Trade: {
nodrop: true
noselltonpc: true
nogstorage: true
nomail: true
noauction: true
}
Script: <"
callfunc("EatValentineChocolate");
">
},
{
Id: 642
AegisName: "HousingLetterI"
Name: "Housing Letter I"
Type: "IT_USABLE"
Buy: 10000
Sell: 0
Weight: 11
Refine: false
Script: <"
REAL_ESTATE_CREDITS+=10000;
">
},
{
Id: 643
AegisName: "HousingLetterII"
Name: "Housing Letter II"
Type: "IT_USABLE"
Buy: 100000
Sell: 0
Weight: 11
Refine: false
Script: <"
REAL_ESTATE_CREDITS+=100000;
">
},
{
Id: 644
AegisName: "HousingLetterIII"
Name: "Housing Letter III"
Type: "IT_USABLE"
Buy: 1000000
Sell: 0
Weight: 11
Refine: false
Script: <"
REAL_ESTATE_CREDITS+=1000000;
">
},
{
Id: 645
AegisName: "StatusResetPotion"
Name: "Status Reset Potion"
Type: "IT_USABLE"
Buy: 1000000
Sell: 0
Weight: 700
Refine: false
Script: <"
callfunc("StatusResetReinvest", false);
//resetstatus;
dispbottom l("Your status points were reset.");
">
},
{
Id: 646
AegisName: "MoveSpeedPotion"
Name: "Move Speed Potion"
Type: "IT_USABLE"
Buy: 500000
Sell: 0
Weight: 45
Refine: false
Delay: 500
Script: <"
callfunc "SC_Bonus", rand(45, 60), SC_WALKSPEED, 150;
">
},
{
Id: 647
AegisName: "PrecisionPotion"
Name: "Precision Potion"
Type: "IT_USABLE"
Buy: 10000
Sell: 100
Weight: 20
Refine: false
Delay: 500
Script: <"
callfunc "SC_Bonus", 60, SC_INCHIT, 40;
">
},
{
Id: 648
AegisName: "LukPotionA"
Name: "Luck Potion"
Type: "IT_USABLE"
Buy: 1000
Sell: 0
Weight: 20
Refine: false
Delay: 500
Script: <"
callfunc "SC_Bonus", 90, SC_INCLUK, 5, 10;
">
},
{
Id: 649
AegisName: "LukPotionB"
Name: "Luck+ Potion"
Type: "IT_USABLE"
Buy: 10000
Sell: 0
Weight: 20
Refine: false
Delay: 500
Script: <"
callfunc "SC_Bonus", 75, SC_INCLUK, 10, 20;
">
},
{
Id: 650
AegisName: "LukPotionC"
Name: "Luck++ Potion"
Type: "IT_USABLE"
Buy: 100000
Sell: 0
Weight: 20
Refine: false
Delay: 500
Script: <"
callfunc "SC_Bonus", 60, SC_INCLUK, 20, 30;
">
},
{
Id: 651
AegisName: "DexPotionA"
Name: "Dex Potion"
Type: "IT_USABLE"
Buy: 1000
Sell: 0
Weight: 20
Refine: false
Delay: 500
Script: <"
callfunc "SC_Bonus", 90, SC_INCDEX, 5, 10;
">
},
{
Id: 652
AegisName: "DexPotionB"
Name: "Dex+ Potion"
Type: "IT_USABLE"
Buy: 10000
Sell: 0
Weight: 20
Refine: false
Delay: 500
Script: <"
callfunc "SC_Bonus", 75, SC_INCDEX, 10, 20;
">
},
{
Id: 653
AegisName: "DexPotionC"
Name: "Dex++ Potion"
Type: "IT_USABLE"
Buy: 100000
Sell: 0
Weight: 20
Refine: false
Delay: 500
Script: <"
callfunc "SC_Bonus", 60, SC_INCDEX, 20, 30;
">
},
{
Id: 654
AegisName: "IntPotionA"
Name: "Int Potion"
Type: "IT_USABLE"
Buy: 1000
Sell: 0
Weight: 20
Refine: false
Delay: 500
Script: <"
@min = 5;
@max = 10;
@delay = 90;
@type = SC_INCINT;
doevent "inc_sc_bonus::OnUse";
">
},
{
Id: 655
AegisName: "IntPotionB"
Name: "Int+ Potion"
Type: "IT_USABLE"
Buy: 10000
Sell: 0
Weight: 20
Refine: false
Delay: 500
Script: <"
@min = 10;
@max = 20;
@delay = 75;
@type = SC_INCINT;
doevent "inc_sc_bonus::OnUse";
">
},
{
Id: 656
AegisName: "IntPotionC"
Name: "Int++ Potion"
Type: "IT_USABLE"
Buy: 100000
Sell: 0
Weight: 20
Refine: false
Delay: 500
Script: <"
@min = 20;
@max = 30;
@delay = 60;
@type = SC_INCINT;
doevent "inc_sc_bonus::OnUse";
">
},
{
Id: 657
AegisName: "VitPotionA"
Name: "Vit Potion"
Type: "IT_USABLE"
Buy: 1000
Sell: 0
Weight: 20
Refine: false
Delay: 500
Script: <"
@min = 5;
@max = 10;
@delay = 90;
@type = SC_INCVIT;
doevent "inc_sc_bonus::OnUse";
">
},
{
Id: 658
AegisName: "VitPotionB"
Name: "Vit+ Potion"
Type: "IT_USABLE"
Buy: 10000
Sell: 0
Weight: 20
Refine: false
Delay: 500
Script: <"
@min = 10;
@max = 20;
@delay = 75;
@type = SC_INCVIT;
doevent "inc_sc_bonus::OnUse";
">
},
{
Id: 659
AegisName: "VitPotionC"
Name: "Vit++ Potion"
Type: "IT_USABLE"
Buy: 100000
Sell: 0
Weight: 20
Refine: false
Delay: 500
Script: <"
@min = 20;
@max = 30;
@delay = 60;
@type = SC_INCVIT;
doevent "inc_sc_bonus::OnUse";
">
},
{
Id: 660
AegisName: "AgiPotionA"
Name: "Agi Potion"
Type: "IT_USABLE"
Buy: 1000
Sell: 0
Weight: 20
Refine: false
Delay: 500
Script: <"
@min = 5;
@max = 10;
@delay = 90;
@type = SC_INCAGI;
doevent "inc_sc_bonus::OnUse";
">
},
{
Id: 661
AegisName: "AgiPotionB"
Name: "Agi+ Potion"
Type: "IT_USABLE"
Buy: 10000
Sell: 0
Weight: 20
Refine: false
Delay: 500
Script: <"
@min = 10;
@max = 20;
@delay = 75;
@type = SC_INCAGI;
doevent "inc_sc_bonus::OnUse";
">
},
{
Id: 662
AegisName: "AgiPotionC"
Name: "Agi++ Potion"
Type: "IT_USABLE"
Buy: 100000
Sell: 0
Weight: 20
Refine: false
Delay: 500
Script: <"
@min = 20;
@max = 30;
@delay = 60;
@type = SC_INCAGI;
doevent "inc_sc_bonus::OnUse";
">
},
// Id 663~665 reserved Str+ potions
// Id 666 reserved (change sex candy)
{
Id: 667
AegisName: "SacredLifePotion"
Name: "Sacred Life Potion"
Type: "IT_USABLE"
Buy: 1000000
Sell: 5600
Weight: 50
Refine: false
Delay: 500
Script: <"
@min = 15;
@max = 15;
@delay = 300;
@type = SC_INCMHPRATE;
doevent "inc_sc_bonus::OnUse";
">
},
{
Id: 668
AegisName: "SacredManaPotion"
Name: "Sacred Mana Potion"
Type: "IT_USABLE"
Buy: 1000000
Sell: 5600
Weight: 50
Refine: false
Delay: 500
Script: <"
@min = 15;
@max = 15;
@delay = 300;
@type = SC_INCMSPRATE;
doevent "inc_sc_bonus::OnUse";
">
},
{
Id: 669
AegisName: "DodgePotion"
Name: "Dodge Potion"
Type: "IT_USABLE"
Buy: 10000
Sell: 100
Weight: 20
Refine: false
Delay: 500
Script: <"
@min = 40;
@max = 40;
@delay = 60;
@type = SC_INCFLEE;
doevent "inc_sc_bonus::OnUse";
">
},
{
Id: 670
AegisName: "CandorWarpCrystal"
Name: "Candor Warp Crystal"
Type: "IT_USABLE"
Buy: 1000
Sell: 0
Weight: 40
Delay: 500
Script: <"
@dest$="Candor";
@itemid=670;
doevent "Warp Crystal::OnUse";
">
},
{
Id: 671
AegisName: "TulimWarpCrystal"
Name: "Tulim Warp Crystal"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 40
Delay: 500
Script: <"
@dest$="Tulim";
@itemid=671;
doevent "Warp Crystal::OnUse";
">
},
{
Id: 672
AegisName: "HalinWarpCrystal"
Name: "Halin Warp Crystal"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 40
Delay: 500
Script: <"
@dest$="Halin";
@itemid=672;
doevent "Warp Crystal::OnUse";
">
},
{
Id: 673
AegisName: "HurnsWarpCrystal"
Name: "Hurns Warp Crystal"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 40
Delay: 500
Script: <"
@dest$="Hurns";
@itemid=673;
doevent "Warp Crystal::OnUse";
">
},
{
Id: 674
AegisName: "LoFWarpCrystal"
Name: "LoF Warp Crystal"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 40
Delay: 500
Script: <"
@dest$="LoF";
@itemid=674;
doevent "Warp Crystal::OnUse";
">
},
{
Id: 675
AegisName: "NivalWarpCrystal"
Name: "Nivalis Warp Crystal"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 40
Delay: 500
Script: <"
@dest$="Nival";
@itemid=675;
doevent "Warp Crystal::OnUse";
">
},
{
Id: 676
AegisName: "FrostiaWarpCrystal"
Name: "Frostia Warp Crystal"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 40
Delay: 500
Script: <"
@dest$="Frostia";
@itemid=676;
doevent "Warp Crystal::OnUse";
">
},
{
Id: 677
AegisName: "LilitWarpCrystal"
Name: "Lilit Warp Crystal"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 40
Delay: 500
Trade: {
notrade: true
nodrop: true
noselltonpc: true
nogstorage: true
nomail: true
noauction: true
}
Script: <"
@dest$="Lilit";
@itemid=677;
doevent "Warp Crystal::OnUse";
">
},
{
Id: 678
AegisName: "ArtisWarpCrystal"
Name: "Artis Warp Crystal"
Type: "IT_USABLE"
Buy: 0
Sell: 0
Weight: 40
Delay: 500
Trade: {
notrade: true
nodrop: true
noselltonpc: true
nogstorage: true
nomail: true
noauction: true
}
Script: <"
@dest$="Artis";
@itemid=678;
doevent "Warp Crystal::OnUse";
">
},
{
Id: 679
AegisName: "DungeonMap"
Name: "Dungeon Map"
Type: "IT_USABLE"
Buy: 45000
Sell: 300
Weight: 14
KeepAfterUse: true
Refine: false
Script: <"
// ShovelQuests_Dungeon