Jump to content

Card Deposit from RO Mobile (via OnPCStatCalcEvent) 1.2.0


2 Screenshots

About This File

Requirements: (OnPCStatCalcEvent of Annie. I'm using 2.0 version since the 2.1 has bugs when @reloading the command)

Pro's: Bonus Stats
Con's: If you are submitting/retrieving cards "if ever a server crash occurred", there's going to be duplication/ rollback on your part because sql doesn't save instant and it requires some time. The only solution is for you to rollback/ update database with your latest backup.

Warning: OnPCStatCalcEvent seems to be broken on @reloadscript, you'll need to restart the server if you did @reloadscript.

Feel free to message me if you want to upgrade or optimize the script. I'm more than happy to accept it.

 

iteminfo.lub

----------------------------------------------------------
------ rathena
------ sader1992
------ https://rathena.org/board/profile/30766-sader1992/
----------------------------------------------------------
tbl = {
	--ADD YOUR ITEMS HERE!!
	--Example
	--Card Collector
	--Alphabetical
	[4140] = {
		unidentifiedDisplayName = "Abysmal Knight Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Abysmal Knight Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Increases physical damage inflicted on ^FF0000Boss^000000 monsters by 25%.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Increases physical damage inflicted on ^FF0000Boss^000000 monsters by 25%",
			"^FFFFFF_^000000",
			"Type:^777777 Card^000000",
			"Compound on:^777777 Weapon^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4409] = {
		unidentifiedDisplayName = "Agav Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Agav Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Matk +5%",
			"DEF -10",
			"^FFFFFF_^000000",
			"[ ^6666CCMage Class^000000 ]",
			"MaxSP +100",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Matk +5%",
			"^FFFFFF_^000000",
			"Type:^777777 Card^000000",
			"Compound on:^777777 Armor^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4244] = {
		unidentifiedDisplayName = "Alarm Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Alarm Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Vit +1",
			"MaxHP +300",
			"Add the chance of auto casting ^008800Level 1 Sight^000000 around the user when receiving Physical Damage.",
			"^FFFFFF_^000000",
			"[ ^6666CCClock Tower Card Set^000000 ]",
			"^008800Tower Keeper Card^000000",
			"^008800Punk Card^000000",
			"^008800Alarm Card^000000",
			"^008800Clock Card^000000",
			"Def +3",
			"Mdef +3",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Vit +1",
			"^FFFFFF_^000000",
			"Type:^777777 Card^000000",
			"Compound on:^777777 Footgear^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4253] = {
		unidentifiedDisplayName = "Alice Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Alice Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Receive 40% less damage from ^FF0000Boss^000000 monsters.",
			"Receive 40% more damage from ^FF0000Normal^000000 monsters.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Receive 40% less damage from ^FF0000Boss^000000 monsters.",
			"^FFFFFF_^000000",			
			"Type:^777777 Card^000000",
			"Compound on:^777777 Shield^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4401] = {
		unidentifiedDisplayName = "Alicel Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "" },
		identifiedDisplayName = "Alicel Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"FLEE +10",
			"DEF -5",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"FLEE +10",
			"^FFFFFF_^000000",
			"Type:^777777 Card^000000",
			"Compound on:^777777 Armor^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},	
	[4402] = {
		unidentifiedDisplayName = "Aliot Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Aliot Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"[ ^6666CCSwordman, Merchant, Thief^000000 ]",
			"Str +2",
			"MaxHP +5%",
			"^FFFFFF_^000000",
			"[ ^6666CCArcher, Acolyte, Mage^000000 ]",
			"Int +2",
			"MaxSP +5%.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Str +2",
			"^FFFFFF_^000000",
			"Type:^777777 Card^000000",
			"Compound on:^777777 Garment^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4400] = {
		unidentifiedDisplayName = "Aliza Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Aliza Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Add a 5% chance of autocasting ^008800Charming Wink^000000 each time the wearer is physically attacked.",
			"^FFFFFF_^000000",
			"[ ^6666CCDancer^000000 ]",
			"Chance increases to 10%.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Add a 5% chance of autocasting ^008800Charming Wink^000000 each time the wearer is physically attacked.",
			"^FFFFFF_^000000",
			"Type:^777777 Card^000000",
			"Compound on:^777777 Armor^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4252] = {
		unidentifiedDisplayName = "Alligator Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Alligator Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Receive 5% less damage from Long Ranged Physical Attack.",
			"^FFFFFF_^000000",
			"[ ^6666CCHunter Card Set^000000 ]",
			"^008800Cruiser Card^000000",
			"^008800Anolian Card^000000",
			"^008800Alligator Card^000000",
			"^008800Dragon Tail Card^000000",
			"^008800Merman Card^000000",
			"+20% Ranged Attack Damage",
			"Agi +5",
			"Dex +3",
			"+20% Seeking Attack",
			"(which never miss its target)",
			"^FFFFFF_^000000",
			"[ ^6666CCArcher Class Bonus^000000 ]",
			"A low chance of",
			"auto casting Coma on",
			"Brute monsters",
			"when attacking.",
			"+5% EXP from",
			"Brute monsters.",
			"^FFFFFF_^000000",
			"[ ^6666CCBard/Dancer Card Set^000000 ]",
			"^008800Cruiser Card^000000",
			"^008800Anolian Card^000000",
			"^008800Alligator Card^000000",
			"^008800Dragon Tail Card^000000",
			"^008800Green Ferus Card^000000",
			"Dex +5",
			"+5% Arrow Vulcan Damage",
			"+10% Musical Strike Damage",
			"+10% Throw Arrow Damage",
			"[ ^6666CCBard/Dancer Bonus^000000 ]",
			"A low chance of",
			"auto casting",
			"level 2 Tarot Card of Fate",
			"when hit by a melee attack.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Receive 5% less damage from Long Ranged Physical Attack.",
			"^FFFFFF_^000000",
			"Type:^777777 Card^000000",
			"Compound on:^B40088 Accessory^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4245] = {
		unidentifiedDisplayName = "Am Mut Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Am Mut Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Receive 10% more Experience Points from ^FF0000Demihuman^000000 monsters.",
			"Receive 20% more damage from ^777777Demihuman^000000 monsters.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Receive 10% more Experience Points from ^FF0000Demihuman^000000 monsters.",
			"^FFFFFF_^000000",
			"Type:^777777 Card^000000",
			"Compound on:^777777 Footgear^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4032] = {
		unidentifiedDisplayName = "Ambernite Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Ambernite Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Def +2",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Def +2",
			"^FFFFFF_^000000",
			"Type:^777777 Card^000000",
			"Compound on:^777777 Shield^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4236] = {
		unidentifiedDisplayName = "Amon Ra Card",
		unidentifiedResourceName = "red",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Amon Ra Card",
		identifiedResourceName = "red",
		identifiedDescriptionName = {
			"All stats +1",
			"Add the chance of casting ^FF0000Level 10 Kyrie Eleison^000000 around the user when reciving Physical Damage.",
			"The chance of casting the skill is increased if the user has 99 INT points.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"All stats +1",
			"^FFFFFF_^000000",
			"Type:^777777 Card^000000",
			"Compound on:^777777 Footgear^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4062] = {
		unidentifiedDisplayName = "Anacondaq Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Anacondaq Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Increases physical damage inflicted on ^FF0000Poison^000000 elemental monsters by 20%.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Increases physical damage inflicted on ^FF0000Poison^000000 elemental monsters by 20%.",
			"^FFFFFF_^000000",
			"Type:^777777 Card^000000",
			"Compound on:^777777 Weapon^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4387] = {
		unidentifiedDisplayName = "Ancient Mimic Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Ancient Mimic Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Adds 1 AGI for every 18 points of base LUK.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Adds 1 AGI for every 18 points of base LUK.",
			"^FFFFFF_^000000",
			"Type:^777777 Card^000000",
			"Compound on:^777777 Armor^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4248] = {
		unidentifiedDisplayName = "Ancient Mummy Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Ancient Mummy Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Add the chance of auto casting ^FF0000Level 5 Signum Crucis^000000 on an enemy when the user receives Physical Damage.",
			"^FFFFFF_^000000",
			"+ [ ^6666CCMummy Card^000000 ]",
			"Perfect Hit + 20.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Add the chance of auto casting ^FF0000Level 5 Signum Crucis^000000 on an enemy when the user receives Physical Damage.",
			"^FFFFFF_^000000",
			"Type:^777777 Card^000000",
			"Compound on:^777777 Shield^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4249] = {
		unidentifiedDisplayName = "Ancient Worm Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Ancient Worm Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Receive 10% more Experience Points from ^FF0000Demon^000000 monsters.",
			"Receive 20% more damage from ^FF0000Demon^000000 monsters.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Receive 10% more Experience Points from ^FF0000Demon^000000 monsters.",
			"^FFFFFF_^000000",
			"Type:^777777 Card^000000",
			"Compound on:^777777 Footgear^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4043] = {
		unidentifiedDisplayName = "Andre Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Andre Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Atk +20",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Atk +20",
			"^FFFFFF_^000000",
			"Type:^777777 Card^000000",
			"Compound on:^777777 Weapon^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4013] = {
		unidentifiedDisplayName = "Andre Egg Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Andre Egg Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"MaxHP +5%",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"MaxHP +5%",
			"^FFFFFF_^000000",
			"Type:^777777 Card^000000",
			"Compound on:^777777 Shield^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4018] = {
		unidentifiedDisplayName = "Andre Larva Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Andre Larva Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Int +1",
			"MaxSP +10",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Int +1",
			"^FFFFFF_^000000",
			"Type:^777777 Card^000000",
			"Compound on:^777777 Weapon^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4054] = {
		unidentifiedDisplayName = "Angelring Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "" },
		identifiedDisplayName = "Angelring Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Blesses compounded Armor with the ^FF0000Holy^000000 elemental.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Increase damage on ^FF0000Angel^000000 monsters by 20%.",
			"^FFFFFF_^000000",
			"Type: ^777777 Card^000000",
			"Compound on: ^777777Armor^000000",
			"Weight: ^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4234] = {
		unidentifiedDisplayName = "Anolian Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "" },
		identifiedDisplayName = "Anolian Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Add the chance of auto casting ^008800Level 1 Improve Concentration^000000 on the user when receiving Physical Damage.",
			"If the user has mastered the skill at level 10, it will cast ^008800Level 10 Improve Concentration^000000.",
			"^FFFFFF_^000000",
			"[ ^6666CCHunter Card Set^000000 ]",
			"^008800Cruiser Card^000000",
			"^008800Anolian Card^000000",
			"^008800Alligator Card^000000",
			"^008800Dragon Tail Card^000000",
			"^008800Merman Card^000000",
			"+20% Ranged Attack Damage",
			"Agi +5",
			"Dex +3",
			"+20% Seeking Attack",
			"(which never miss its target)",
			"^FFFFFF_^000000",
			"[ ^6666CCArcher Class Bonus^000000 ]",
			"A low chance of",
			"auto casting Coma on",
			"Brute monsters",
			"when attacking.",
			"+5% EXP from",
			"Brute monsters.",
			"^FFFFFF_^000000",
			"[ ^6666CCBard/ Dancer Card Set^000000 ]",
			"^008800Cruiser Card^000000",
			"^008800Anolian Card^000000",
			"^008800Alligator Card^000000",
			"^008800Dragon Tail Card^000000",
			"^008800Green Ferus Card^000000",
			"Dex +5",
			"+5% Arrow Vulcan Damage",
			"+10% Musical Strike Damage",
			"+10% Throw Arrow Damage",
			"^FFFFFF_^000000",
			"[ ^6666CCBard or Dancer Bonus^000000 ]",
			"A low chance of",
			"auto casting",
			"level 2 Tarot Card of Fate",
			"when hit by a melee attack.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Grants Skill Concentration Lv. 1",
			"^FFFFFF_^000000",
			"Class:^777777 Card^000000",
			"Compound on:^777777 Armor^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4344] = {
		unidentifiedDisplayName = "Anopheles Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Anopheles Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Adds a chance of dropping ^008800Tentacle Cheese Gratin^000000 when defeating Insect monsters.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Adds a chance of dropping ^008800Tentacle Cheese Gratin^000000 when defeating Insect monsters.",
			"^FFFFFF_^000000",
			"Class:^777777 Card^000000",
			"Compound on:^777777 Accessory^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4243] = {
		unidentifiedDisplayName = "Antonio Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Antonio Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Has a high chance of casting ^008800Level 1 Teleport^000000 on the user when taken Physical Damage.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Has a high chance of casting ^008800Level 1 Teleport^000000 on the user when taken Physical Damage.",
			"^FFFFFF_^000000",			
			"Class:^777777 Card^000000",
			"Compound on:^777777 Armor^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4138] = {
		unidentifiedDisplayName = "Anubis Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Anubis Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Reduces damage taken from ^FF0000Angel^000000 monsters by 30%.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Reduces damage taken from ^FF0000Angel^000000 monsters by 30%.",
			"^FFFFFF_^000000",				
			"Class:^777777 Card^000000",
			"Compound on:^777777 Shield^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4242] = {
		unidentifiedDisplayName = "Apocalipse Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Apocalipse Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Vit +2",
			"MaxHP +800 if the armor is upgraded up to +9 or higher.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Vit +2",
			"^FFFFFF_^000000",			
			"Class:^777777 Card^000000",
			"Compound on:^777777 Armor^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4443] = {
		unidentifiedDisplayName = "Aqua Elemental Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Aqua Elemental Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Decreases damage taken from ^0000BBWater^000000 elemental monsters by 20%.",
			"Increases damage dealt to ^0000BBWater^000000 elemental monsters by 5%.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Decreases damage taken from ^0000BBWater^000000 elemental monsters by 20%.",
			"^FFFFFF_^000000",				
			"Class:^777777 Card^000000",
			"Compound on:^777777 Shield^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4241] = {
		unidentifiedDisplayName = "Arc Angelring Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Arc Angelring Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"MaxHP +300",
			"When base LUK is 77 or higher: Increases natural HP and SP regeneration by 100%.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"MaxHP +300",
			"^FFFFFF_^000000",			
			"Class:^777777 Card^000000",
			"Compound on:^6600FF Headgear^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4371] = {
		unidentifiedDisplayName = "Archdam Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Archdam Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Atk +10",
			"Increases cast time by 20%.",
			"^FFFFFF_^000000",
			"[ ^6666CCCrusader Card Set^000000 ]",
			"^008800Archdam Card^000000",
			"^008800Permeter Card^000000",
			"^008800Freezer Card^000000",
			"^008800Heater Card^000000",			
			"Int +1",
			"Str +1",
			"Def +2",
			"SP Recovery +10%",
			"+10% Shield Chain and",
			"Sacrifice Damage",
			"Casting Speed +10%",
			"[ ^6666CCCrusader/Paladin Only Bonus^000000 ]",
			"Armor becomes Holy Element.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"MaxHP +300",
			"^FFFFFF_^000000",
			"Class:^777777 Card^000000",
			"Compound on:^777777 Armor^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4094] = {
		unidentifiedDisplayName = "Archer Skeleton Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Archer Skeleton Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Increases long range physical attacks by 10%.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Increases long range physical attacks by 10%.",
			"^FFFFFF_^000000",			
			"Class:^777777 Card^000000",
			"Compound on:^777777 Weapon^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4240] = {
		unidentifiedDisplayName = "Arclouze Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Arclouze Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Def +2 and Mdef +3 if the shield is upgraded no higher than +5.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Def +2 and Mdef +3",
			"^FFFFFF_^000000",				
			"Class:^777777 Card^000000",
			"Compound on:^777777 Shield^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4114] = {
		unidentifiedDisplayName = "Argiope Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Argiope Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Def +1",
			"Enchants armor with ^663399Poison^000000 elemental.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Def +1",
			"^FFFFFF_^000000",				
			"Class:^777777 Card^000000",
			"Compound on:^777777 Armor^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4075] = {
		unidentifiedDisplayName = "Argos Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "" },
		identifiedDisplayName = "Argos Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"DEF +1",
			"^FFFFFF_^000000",
			"Increases resistance against ^663399Stone Curse^000000 status by 20%.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Def +1",
			"^FFFFFF_^000000",
			"^0000CCType:^000000 Card",
			"^0000CCCompound on:^000000 Shield",
			"^0000CCWeight:^000000 1"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},	
	[4347] = {
		unidentifiedDisplayName = "Armeyer Dinze Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Armeyer Dinze Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Adds a chance of dropping ^008800Clam Soup^000000 when defeating ^777777Fish^000000 monsters.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Adds a chance of dropping ^008800Clam Soup^000000 when defeating ^777777Fish^000000 monsters.",
			"^FFFFFF_^000000",				
			"Class:^777777 Card^000000",
			"Compound on:^B40088 Accessory^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4359] = {
		unidentifiedDisplayName = "Assassin Cross Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Assassin Cross Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Enables use of Level 3 ^008800Cloaking^000000.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Inflict 50% more damage with Critical attacks",
			"^FFFFFF_^000000",				
			"Class:^777777 Card^000000",
			"Compound on:^008C99 Garment^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4246] = {
		unidentifiedDisplayName = "Assaulter Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Assaulter Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Increases critical attack damage by 10%.",
			"Critical +7 on ^777777Demihuman^000000 monsters.",
			"^FFFFFF_^000000",
			"[ ^6666CCSwordman Card set^000000 ]",
			"^008800Assaulter Card^000000",
			"^008800Permeter Card^000000",
			"^008800Solider Card^000000",
			"^008800Freezer Card^000000",
			"^008800Heater Card^000000",
			"Str +10",
			"MaxHP +20%",
			"Increases HP regen by 50%.",
			"Randomly autocasts Level 1 ^0000FFWeapon Perfection^000000 when dealing physical attack.",
			"Randomly a defeated monster will drop ^777777Red Potion^000000.",
			"^FFFFFF_^000000",
			"[ ^6666CCSwordman^000000 ]",
			"Increases restoration gained from ^777777Red Potion^000000, ^777777Yellow Potion^000000 and ^777777White Potion^000000 by 50%.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Inflict 10% more damage with Critical attacks",
			"^FFFFFF_^000000",	
			"Class:^777777 Card^000000",
			"Compound on:^777777 Weapon^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4247] = {
		unidentifiedDisplayName = "Aster Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Aster Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Atk +5",
			"Inflict 30% more damage on ^777777Shell Fish^000000.",
			"^FFFFFF_^000000",
			"[ ^6666CCBeach Card set^000000 ]",
			"^008800Shell Fish Card^000000",
			"^008800Crab Card^000000",
			"^008800Aster Card^000000",
			"Increases physical damage inflicted on ^0000BBWater^000000 elemental monsters by 30%.",
			"Randomly a defeated ^777777Fish^000000 monster will drop ^777777Raw Fish^000000.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Atk + 5",
			"^FFFFFF_^000000",
			"Class:^777777 Card^000000",
			"Compound on:^777777 Weapon^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4425] = {
		unidentifiedDisplayName = "Atroce Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Atroce Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"Atk +25",
			"When in physical attack, Reduces after attack delay by 100% for 10 seconds.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"Atk + 25",
			"^FFFFFF_^000000",			
			"Class:^777777 Card^000000",
			"Compound on:^777777 Weapon^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0
	},
	[4023] = {
		unidentifiedDisplayName = "Baby Desert Wolf Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "" },
		identifiedDisplayName = "Baby Desert Wolf Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"INT +1",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"INT +1",
			"^FFFFFF_^000000",
			"Class:^777777 Card^000000",
			"Compound on:^777777 Armor^000000",
			"Weight:^777777 1^000000"			
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},
	[4233] = {
		unidentifiedDisplayName = "Baby Leopard Card",
		unidentifiedResourceName = "이름없는카드",
		unidentifiedDescriptionName = { "" },
		identifiedDisplayName = "Baby Leopard Card",
		identifiedResourceName = "이름없는카드",
		identifiedDescriptionName = {
			"LUK +3",
			"^FFFFFF_^000000",
			"When equipped by ^0033CCMerchant^000000 classes:",
			"Armor becomes indestructible.",
			"^FFFFFF_^000000",
			"When equipped with ^990099Zipper Bear Card^000000, ^990099Raggler Card^000000, ^990099Myst Case Card^000000 and ^990099Heirozoist Card^000000:",
			"LUK +10",
			"Increases damage of ^009900Mammonite^000000 by 20%.",
			"Gains 2 SP on each physical attack.",
			"When equipped by ^0033CCMerchant^000000 classes:",
			"Adds 20% chance of reflecting magical attack.",
			"Random chance a defeated monster will drop ^0033CCOld Purple Box^000000.",
			"^FFFFFF_^000000",
			"When equipped with ^990099Zipper Bear Card^000000, ^990099Raggler Card^000000, ^990099Muka Card^000000 and ^990099Holden Card^000000:",
			"STR +4",
			"MaxHP +7%",
			"MaxSP +7%",
			"Increases damage of ^009900Mammonite^000000 by 20%.",
			"Gains 1 SP on each physical attack.",
			"^FFFFFF_^000000",
			"When equipped by ^0033CCAlchemist^000000 classes:",
			"Random chance to auto-cast Level 1 ^009900Adrenaline Rush^000000 when dealing physical attacks.",
			"Random chance a defeated monster will drop ^0033CCGlistening Coat^000000 or ^0033CCStem^000000.",
			"^FFFFFF_^000000",
			"[ ^6666CCDesposit Reward^000000 ]",
			"LUK +3",			
			"^FFFFFF_^000000",
			"Class:^777777 Card^000000",
			"Compound on:^777777 Armor^000000",
			"Weight:^777777 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false,
		EffectID = 1186
	},	
}

OnPCStatCalcEvent.conf

//================= Hercules Configuration ================================
//=       _   _                     _
//=      | | | |                   | |
//=      | |_| | ___ _ __ ___ _   _| | ___  ___
//=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
//=      | | | |  __/ | | (__| |_| | |  __/\__ \
//=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2014-2024 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 <http://www.gnu.org/licenses/>.
//=========================================================================
//= Hercules Sockets local configuration file
//=========================================================================

script: (
{ // npc/custom/xxxevent.txt
OnPCStatCalcEvent:
    <"
		if (@Knight_Of_Abyss_Card) {
			bonus2 bAddClass, Class_Boss, 25;
		}
		if (@Agav_Card) {
			bonus bMatkRate, 5;
		}
		if (@Alarm_Card) {
			bonus bVit, 1;
		}
		if (@Alice_Card) {
			bonus2 bSubClass, Class_Boss, 40;
		}
		if (@Alicel_Card) {
			bonus bFlee, 10;
		}
		if (@Aliot_Card) {
			bonus bStr, 2;
		}
		if (@Aliza_Card) {
			bonus3 bAutoSpellWhenHit, "DC_WINKCHARM", 1, 50;
		}
		if (@Alligator_Card) {
			bonus bLongAtkDef, 5;
		}
		if (@Am_Mut_Card) {
			bonus2 bExpAddRace, RC_DemiHuman, 10;
		}
		if (@Ambernite_Card) {
			bonus bDef, 1;
		}
		if (@Amon_Ra_Card) {
			bonus bAllStats, 1;
		}
		if (@Anacondaq_Card) {
			bonus2 bAddEle, Ele_Poison, 20;
		}
		if (@Ancient_Mimic_Card) {
			bonus bAgi, readparam(bLuk)/18;
		}
		if (@Ancient_Mummy_Card) {
			bonus3 bAutoSpellWhenHit, "AL_CRUCIS", 5, 30;
		}
		if (@Ancient_Worm_Card) {
			bonus2 bExpAddRace, RC_Demon, 10;
		}
		if (@Andre_Card) {
			bonus bBaseAtk, 20;
		}
		if (@Andre_Egg_Card) {
			bonus bMaxHPrate, 5;
		}
		if (@Andre_Larva_Card) {
			bonus bInt, 1;
		}
		if (@Angeling_Card) {
			bonus2 bAddRace, RC_Angel, 20;
		}
		if (@Anolian_Card) {
			skill "AC_CONCENTRATION", 1;
		}
		if (@Anopheles_Card) {
			bonus3 bAddMonsterDropItem, 12058, RC_Insect, 50;
		}
		if (@Antonio_Card) {
			bonus3 bAutoSpellWhenHit, "AL_TELEPORT", 1, 500;
		}
		if (@Anubis_Card) {
			bonus2 bSubRace, RC_Angel, 30;
		}
		if (@Apocalips_Card) {
			bonus bVit, 2;
		}
		if (@Aqua_Elemental_Card) {
			bonus2 bSubEle, Ele_Water, 20;
		}
		if (@Archangeling_Card) {
			bonus bMaxHP, 300;
		}
		if (@Archdam_Card) {
			bonus bBaseAtk, 10;
		}
		if (@Archer_Skeleton_Card) {
			bonus bLongAtkRate, 10;
		}
		if (@Arclouse_Card) {
			bonus bDef, 2; 
			bonus bMdef, 3;
		}
		if (@Argiope_Card) {
			bonus bDef, 1;
		}
		if (@Argos_Card) {
			bonus2 bResEff, Eff_Stone, 20;
		}
		if (@Armaia_Card) {
			bonus3 bAddMonsterDropItem, 12053, RC_Fish, 50;
		}
		if (@B_Eremes_Card) {
			bonus bCritAtkRate, 50;
		}
		if (@Assulter_Card) {
			bonus bCritAtkRate, 10;
		}
		if (@Aster_Card) {
			bonus bBaseAtk, 5;
		}
		if (@Atroce_Card) {
			bonus bBaseAtk, 25;
		}
		if (@Desert_Wolf_Babe_Card) {
			bonus bInt, 1;
		}		
		if (@Baby_Leopard_Card) {
			bonus bLuk, 3;
		}
    end;
    ">
},

)

 


What's New in Version 1.2.0   See changelog

Released

//= v1.2 Define a single array for both bonus variables and saved cards




User Feedback

Recommended Comments

sorry but the rAthena version is not that permanent since bonus_script doesn't have infinite tick. Although you can make the timer like 1 year or so.

Share this comment


Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.