Illusion of Moonlight (#6637)

Fixes #6453 
Implemented Illusion of Moonlight
Implemented related monsters and enchanter

Thanks to @crazy-arashi @Atemo @Lemongrass3110  @secretdataz 
Co-authored-by: Atemo <capucrath@gmail.com>
Credits to @crazy-arashi for the initial script release
This commit is contained in:
Everade 2022-03-08 00:29:17 +01:00 committed by GitHub
parent e2c15afd9d
commit 92c3e19621
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 1913 additions and 19 deletions

View File

@ -114,6 +114,18 @@ Body:
Dialog: Yes! Yearn for your freedom from this confined place, your captivity here will be permanent !!
- Id: 41
Dialog: Arrival!
- Id: 51
Dialog: I will not forgive humans!!
- Id: 52 # !todo Unknown dialogue
Dialog: I will not forgive humans!!
- Id: 53
Dialog: I will save you!
- Id: 54 # !todo Unknown dialogue
Dialog: I will save you!
- Id: 55
Dialog: This is the truth! Hahahahah!
- Id: 58 # !todo Unknown dialogue
Dialog: Attack!
Footer:
Imports:

View File

@ -89266,22 +89266,384 @@ Body:
# AegisName: ILL_BOMI
# - Id: 3757
# AegisName: ILL_DRACULA
# - Id: 3758
# AegisName: ILL_MOONLIGHT
# - Id: 3759
# AegisName: ILL_NINE_TAIL
# - Id: 3760
# AegisName: ILL_MUNAK
# - Id: 3761
# AegisName: ILL_BON_GUN
# - Id: 3762
# AegisName: ILL_SOHEE
# - Id: 3763
# AegisName: ILL_ARCHER_SKELETON
# - Id: 3764
# AegisName: ILL_HIGHWIZARD
# - Id: 3765
# AegisName: ILL_FURY_HERO
- Id: 3758
AegisName: ILL_MOONLIGHT
Name: Angry Moonlight Flower
Level: 118
Hp: 4287803
BaseExp: 1403238
JobExp: 962759
MvpExp: 701619
Attack: 4878
Attack2: 2797
Defense: 254
MagicDefense: 81
Str: 166
Agi: 205
Vit: 150
Int: 167
Dex: 290
Luk: 240
AttackRange: 1
SkillRange: 10
ChaseRange: 12
Size: Medium
Race: Demon
Element: Fire
ElementLevel: 3
WalkSpeed: 150
AttackDelay: 1276
AttackMotion: 576
DamageMotion: 288
Ai: 19
Class: Boss
Modes:
Mvp: true
KnockBackImmune: true
MvpDrops:
- Item: Old_Violet_Box
Rate: 5000
- Item: Yggdrasilberry
Rate: 2000
- Item: Illusion_Stone
Rate: 500
Drops:
- Item: Bradium
Rate: 5000
- Item: Hazy_Dream_Fragment
Rate: 3000
- Item: Spectral_Spear
Rate: 500
- Item: Moonlight_Sword
Rate: 100
- Item: Silver_Knife_Of_Chaste
Rate: 600
- Item: Staff_Of_Bordeaux
Rate: 100
- Item: AngerMoonlight_Card
Rate: 1
StealProtected: true
- Id: 3759
AegisName: ILL_NINE_TAIL
Name: Angry Nine Tail
Level: 116
Hp: 21875
BaseExp: 2315
JobExp: 2169
Attack: 965
Attack2: 214
Defense: 95
MagicDefense: 40
Str: 121
Agi: 73
Vit: 64
Int: 42
Dex: 212
Luk: 100
AttackRange: 1
SkillRange: 10
ChaseRange: 12
Size: Medium
Race: Brute
Element: Fire
ElementLevel: 3
WalkSpeed: 150
AttackDelay: 840
AttackMotion: 540
DamageMotion: 480
Ai: 19
Drops:
- Item: Fox_Tail
Rate: 3000
- Item: Glass_Bead
Rate: 200
- Item: Branch_Of_Dead_Tree
Rate: 100
- Item: Carnium
Rate: 100
- Item: Illusion_Gemstone
Rate: 200
- Item: Hazy_Dream_Fragment
Rate: 500
- Item: AngerNineTail_Card
Rate: 1
StealProtected: true
- Id: 3760
AegisName: ILL_MUNAK
Name: Resentful Munak
Level: 110
Hp: 17728
BaseExp: 1843
JobExp: 1876
Attack: 637
Attack2: 105
Defense: 77
MagicDefense: 15
Str: 103
Agi: 18
Vit: 50
Int: 20
Dex: 66
Luk: 20
AttackRange: 1
SkillRange: 10
ChaseRange: 12
Size: Medium
Race: Undead
Element: Undead
ElementLevel: 1
WalkSpeed: 200
AttackDelay: 2468
AttackMotion: 768
DamageMotion: 288
Ai: 19
Drops:
- Item: HazyMooncake
Rate: 1000
- Item: Munak_Turban
Rate: 10
- Item: Amulet
Rate: 20
- Item: HazyMooncake
Rate: 1000
- Item: Salty_Rice_Cake
Rate: 150
- Item: Poison_Herb_Seratum
Rate: 150
- Item: BitterMunak_Card
Rate: 1
StealProtected: true
- Id: 3761
AegisName: ILL_BON_GUN
Name: Resentful Bongun
Level: 112
Hp: 19077
BaseExp: 2137
JobExp: 1869
Attack: 826
Attack2: 215
Defense: 88
MagicDefense: 5
Str: 125
Agi: 52
Vit: 49
Int: 22
Dex: 78
Luk: 40
AttackRange: 1
SkillRange: 10
ChaseRange: 12
Size: Medium
Race: Undead
Element: Undead
ElementLevel: 1
WalkSpeed: 190
AttackDelay: 1720
AttackMotion: 500
DamageMotion: 420
Ai: 19
Drops:
- Item: HazyMooncake
Rate: 1750
- Item: Old_Portrait
Rate: 60
- Item: Bongun_Hat
Rate: 3
- Item: Amulet
Rate: 10
- Item: Munak_Doll
Rate: 20
- Item: Light_Granule
Rate: 200
- Item: BitterBonGun_Card
Rate: 1
StealProtected: true
- Id: 3762
AegisName: ILL_SOHEE
Name: Resentful Sohee
Level: 114
Hp: 22414
BaseExp: 2004
JobExp: 2373
Attack: 779
Attack2: 115
Defense: 83
MagicDefense: 84
Str: 122
Agi: 49
Vit: 49
Int: 40
Dex: 84
Luk: 56
AttackRange: 1
SkillRange: 10
ChaseRange: 12
Size: Medium
Race: Demon
Element: Water
ElementLevel: 2
WalkSpeed: 250
AttackDelay: 912
AttackMotion: 2112
DamageMotion: 576
Ai: 19
Drops:
- Item: Bloody_Love_Letter
Rate: 2000
- Item: Skirt_Of_Virgin
Rate: 300
- Item: Nurse_Cap
Rate: 10
- Item: Puente_Robe
Rate: 10
- Item: Hearty_Rice_Cake
Rate: 200
- Item: Poison_Herb_Nerium
Rate: 200
- Item: Heartbroken_Tears
Rate: 200
- Item: BitterSohee_Card
Rate: 1
StealProtected: true
- Id: 3763
AegisName: ILL_ARCHER_SKELETON
Name: Resentful Soldier
Level: 115
Hp: 20843
BaseExp: 2010
JobExp: 2570
Attack: 767
Attack2: 516
Defense: 47
MagicDefense: 10
Str: 60
Agi: 61
Vit: 30
Int: 20
Dex: 101
Luk: 12
AttackRange: 9
SkillRange: 10
ChaseRange: 12
Size: Medium
Race: Undead
Element: Undead
ElementLevel: 1
WalkSpeed: 300
AttackDelay: 2864
AttackMotion: 864
DamageMotion: 576
Ai: 19
Drops:
- Item: Broken_Arrow
Rate: 2000
- Item: Carnium
Rate: 10
- Item: Apple_Of_Archer
Rate: 6
- Item: Poison_Herb_Amoena
Rate: 200
- Item: Fire_Arrow
Rate: 3000
- Item: Fire_Arrow
Rate: 2000
- Item: Fire_Arrow
Rate: 1000
- Item: BitterArcherSk_Card
Rate: 1
StealProtected: true
- Id: 3764
AegisName: ILL_HIGHWIZARD
Name: Wizard of the Truth
Level: 118
Hp: 121847
BaseExp: 8599
JobExp: 7695
Attack: 1977
Attack2: 362
Defense: 20
MagicDefense: 90
Str: 101
Agi: 89
Vit: 60
Int: 205
Dex: 255
Luk: 124
AttackRange: 1
SkillRange: 10
ChaseRange: 12
Size: Medium
Race: Undead
Element: Dark
ElementLevel: 1
WalkSpeed: 140
AttackDelay: 768
AttackMotion: 864
DamageMotion: 288
Ai: 19
Drops:
- Item: Red_Gemstone
Rate: 3000
- Item: Yellow_Gemstone
Rate: 3000
- Item: Vermilion_10_Scroll
Rate: 200
- Item: Meteor_10_Scroll
Rate: 50
- Item: Storm_10_Scroll
Rate: 50
- Item: Fire_Scroll_3_5
Rate: 200
- Item: CandyCaneRod
Rate: 10
- Item: WizardOfVeritas_Card
Rate: 1
StealProtected: true
- Id: 3765
AegisName: ILL_FURY_HERO
Name: Deranged Adventurer
Level: 117
Hp: 24078
BaseExp: 2381
JobExp: 2288
Attack: 837
Attack2: 113
Defense: 340
MagicDefense: 20
Str: 180
Agi: 42
Vit: 126
Int: 66
Dex: 149
Luk: 50
AttackRange: 1
SkillRange: 10
ChaseRange: 12
Size: Medium
Race: Undead
Element: Undead
ElementLevel: 3
WalkSpeed: 150
AttackDelay: 1450
AttackMotion: 864
DamageMotion: 288
Ai: 19
Drops:
- Item: Recruitment_Leaflet
Rate: 2000
- Item: Light_Granule
Rate: 200
- Item: Runstone_Quality
Rate: 1000
- Item: Runstone_Rare
Rate: 200
- Item: Empty_Potion
Rate: 500
- Item: Rotten_Bandage
Rate: 500
- Item: FuryHero_Card
Rate: 1
StealProtected: true
# - Id: 3766
# AegisName: JP_E_MONSTER_53
# - Id: 3767

View File

@ -12438,6 +12438,85 @@
3633,EP16_2_VENOM_KIMERA@NPC_ACIDBREATH,attack,657,6,10000,3000,25000,no,target,always,0,,,,,,,
3633,EP16_2_VENOM_KIMERA@RG_STRIPARMOR,attack,217,5,500,1000,5000,no,target,always,0,,,,,,,
// Illusion of Moonlight
3758,Angry Moonlight Flower@AL_HEAL,attack,28,11,10000,0,5000,no,friend,friendhpltmaxrate,60,,,,,,21,
3758,Angry Moonlight Flower@AL_HEAL,attack,28,11,10000,0,5000,no,self,myhpltmaxrate,30,,,,,,21,
3758,Angry Moonlight Flower@AL_HEAL,chase,28,11,10000,0,5000,no,friend,friendhpltmaxrate,60,,,,,,21,
3758,Angry Moonlight Flower@AL_HEAL,chase,28,11,10000,0,5000,no,self,myhpltmaxrate,30,,,,,,21,
3758,Angry Moonlight Flower@SA_LANDPROTECTOR,chase,288,1,10000,1000,5000,no,target,skillused,89,,,,,,,
3758,Angry Moonlight Flower@SA_LANDPROTECTOR,attack,288,1,10000,500,10000,no,target,myhpltmaxrate,80,,,,,,32,
3758,Angry Moonlight Flower@AL_TELEPORT,idle,26,1,10000,0,0,yes,self,rudeattacked,,,,,,,,
3758,Angry Moonlight Flower@AL_TELEPORT,idle,26,1,5000,0,5000,yes,self,rudeattacked,,,,,,,,
3758,Angry Moonlight Flower@AL_TELEPORT,walk,26,1,5000,0,5000,yes,self,rudeattacked,,,,,,,,
3758,Angry Moonlight Flower@NPC_WIDESILENCE,chase,663,5,10000,1000,20000,no,self,myhpltmaxrate,80,,,,,,32,
3758,Angry Moonlight Flower@NPC_WIDESILENCE,attack,663,5,10000,1000,20000,no,self,myhpltmaxrate,80,,,,,,32,
3758,Angry Moonlight Flower@NPC_WIDESILENCE,attack,663,5,10000,1000,25000,no,self,always,0,,,,,,32,
3758,Angry Moonlight Flower@ST_FULLSTRIP,attack,476,5,2000,0,5000,yes,target,always,0,,,,,,6,
3758,Angry Moonlight Flower@NPC_POWERUP,attack,349,5,10000,0,30000,yes,self,myhpltmaxrate,30,,,,,,6,
3758,Angry Moonlight Flower@MC_MAMMONITE,attack,42,22,2000,0,5000,no,target,always,0,,,,,,8,
3758,Angry Moonlight Flower@MG_COLDBOLT,chase,14,5,2000,0,5000,no,target,always,0,,,,,,0,
3758,Angry Moonlight Flower@MG_FIREBOLT,chase,19,5,2000,0,5000,no,target,always,0,,,,,,0,
3758,Angry Moonlight Flower@MG_LIGHTNINGBOLT,chase,20,5,2000,0,5000,no,target,always,0,,,,,,0,
3758,Angry Moonlight Flower@NPC_CALLSLAVE,attack,352,1,10000,0,30000,yes,self,always,0,,,,,,,
3758,Angry Moonlight Flower@NPC_CALLSLAVE,idle,352,1,10000,0,30000,yes,self,always,0,,,,,,,
3758,Angry Moonlight Flower@NPC_GUIDEDATTACK,attack,172,5,500,0,20000,no,target,always,0,,,,,,6,
3758,Angry Moonlight Flower@SA_DISPELL,attack,289,5,2000,500,5000,no,target,always,0,,,,,,6,
3758,Angry Moonlight Flower@SA_DISPELL,chase,289,5,2000,500,5000,no,target,always,0,,,,,,6,
3758,Angry Moonlight Flower@NPC_SUMMONSLAVE,attack,196,5,10000,700,10000,no,self,slavele,3,1471,,,,,,
3758,Angry Moonlight Flower@NPC_SUMMONSLAVE,idle,196,5,10000,700,10000,no,self,slavele,3,1471,,,,,,
3758,Angry Moonlight Flower@NPC_CRITICALWOUND,attack,673,1,500,0,5000,yes,target,always,0,,,,,,,
3758,Angry Moonlight Flower@BS_HAMMERFALL,chase,110,10,2000,0,5000,no,target,always,0,,,,,,0,
3758,Angry Moonlight Flower@BS_HAMMERFALL,attack,110,10,2000,0,5000,no,target,always,0,,,,,,0,
3758,Angry Moonlight Flower@NPC_TALK,idle,682,10,2500,0,30000,yes,self,always,0,,,,,,,51
3758,Angry Moonlight Flower@NPC_TALK,attack,682,10,2500,0,30000,yes,self,always,0,,,,,,,52
3759,Angry Nine Tail@AL_TELEPORT,idle,26,1,10000,0,0,yes,self,rudeattacked,,,,,,,,
3759,Angry Nine Tail@NPC_EMOTION,idle,197,1,2000,0,5000,yes,self,always,0,6,0x3695,,,,,
3759,Angry Nine Tail@NPC_EMOTION,chase,197,1,200,0,5000,yes,self,always,0,19,0x81,,,,,
3759,Angry Nine Tail@NPC_ATTRICHANGE,attack,161,1,500,2000,5000,no,self,myhpltmaxrate,30,,,,,,,
3759,Angry Nine Tail@NPC_RANDOMATTACK,attack,183,3,500,500,5000,no,target,always,0,,,,,,6,
3759,Angry Nine Tail@NPC_BLEEDING,attack,660,3,2000,0,3000,yes,target,always,0,,,,,,,
3759,Angry Nine Tai@NPC_HALLUCINATION,attack,207,1,500,500,5000,yes,target,always,0,,,,,,6,
3759,Angry Nine Tail@AS_SONICBLOW,attack,136,5,1000,800,5000,no,target,always,0,,,,,,,
3760,Resentful Munak@NPC_EMOTION,idle,197,1,2000,0,5000,yes,self,always,0,1,0x3885,,,,,
3760,Resentful Munak@NPC_EMOTION,chase,197,1,200,0,5000,yes,self,always,0,19,0x81,,,,,
3760,Resentful Munak@NPC_EMOTION,follow,197,1,2000,0,5000,yes,self,always,0,19,0x81,,,,,
3760,Resentful Munak@NPC_STUNATTACK,attack,179,5,2000,1000,5000,no,target,always,0,,,,,,6,
3760,Resentful Munak@NPC_STUNATTACK,attack,179,5,2000,1000,5000,no,master,always,0,,,,,,6,
3760,Resentful Munak@NPC_BLOODDRAIN,attack,199,1,1000,0,25000,yes,target,always,0,,,,,,,
3760,Resentful Munak@SM_BASH,attack,5,5,1000,800,15000,no,target,always,0,,,,,,,
3760,Resentful Munak@NPC_TALK,attack,196,1,2500,0,40000,yes,self,skillused,28,,,,,,,58
3761,Resentful Bongun@KN_SPEARSTAB,attack,58,5,1500,800,5000,no,target,always,0,,,,,,,
3761,Resentful Bongun@NPC_STUNATTACK,attack,179,5,500,1000,5000,no,target,always,0,,,,,,0,
3761,Resentful Bongun@NPC_POWERUP,attack,349,1,2000,0,100000,yes,self,always,0,,,,,,,
3761,Resentful Bongun@NPC_BLINDATTACK,attack,177,5,1000,1000,7000,yes,target,always,0,,,,,,,
3761,Resentful Bongun@NPC_TALK,attack,196,1,2500,0,40000,yes,self,skillused,28,,,,,,,58
3762,Resentful Sohee@NPC_AGIUP,chase,350,1,10000,0,30000,yes,self,always,0,,,,,,,
3762,Resentful Sohee@NPC_EMOTION,walk,197,1,2000,0,5000,yes,self,always,0,28,,,,,,
3762,Resentful Sohee@NPC_STOP,attack,342,1,500,0,30000,yes,target,always,0,,,,,,9,
3762,Resentful Sohee@NPC_SUICIDE,attack,175,1,500,0,5000,yes,self,myhpltmaxrate,80,,,,,,,
3762,Resentful Sohee@NPC_WATERATTACK,attack,184,5,500,500,5000,no,target,always,0,,,,,,6,
3762,Resentful Sohee@NPC_CRITICALSLASH,attack,170,1,500,500,5000,yes,target,always,0,,,,,,,
3763,Resentful Soldier@AC_DOUBLE,attack,46,1,1000,500,5000,no,target,always,0,,,,,,,
3763,Resentful Soldier@AC_DOUBLE,attack,46,5,1000,1000,15000,no,target,always,0,,,,,,,
3763,Resentful Soldier@NPC_UNDEADATTACK,attack,347,5,500,500,5000,no,target,always,0,,,,,,,
3763,Resentful Soldier@AC_CHARGEARROW,attack,148,1,500,0,15000,yes,target,always,0,,,,,,,
3764,Wizard of Truth@NPC_TALK,idle,682,10,2500,0,60000,yes,self,always,0,,,,,,,55
3764,Wizard of Truth@WZ_VERMILION,idle,85,10,10000,1000,25000,no,target,always,0,,,,,,,
3764,Wizard of Truth@AL_TELEPORT,idle,26,1,10000,0,0,yes,self,rudeattacked,,,,,,,,
3764,Wizard of Truth@AL_TELEPORT,walk,26,1,5000,0,5000,yes,self,rudeattacked,,,,,,,,
3764,Wizard of Truth@WZ_VERMILION,chase,85,10,10000,500,27000,no,target,always,0,,,,,,,
3764,Wizard of Truth@WZ_STORMGUST,attack,89,9,10000,1000,26000,no,target,always,0,,,,,,,
3764,Wizard of Truth@WZ_VERMILION,attack,85,10,10000,1000,25000,no,target,always,0,,,,,,,
3764,Wizard of Truth@MG_FIREWALL,attack,18,9,2000,200,19000,yes,target,always,0,,,,,,,
3764,Wizard of Truth@WZ_METEOR,attack,83,9,10000,1000,29000,no,target,always,,,,,,,,
3764,Wizard of Truth@WZ_HEAVENDRIVE,attack,91,5,2000,1000,22000,no,target,always,0,,,,,,,
3764,Wizard of Truth@WZ_WATERBALL,attack,86,5,5000,1000,35000,no,target,always,0,,,,,,,
3765,Deranged Adventurer@SM_BASH,attack,5,10,1000,0,10000,yes,target,always,0,,,,,,,
3765,Deranged Adventurer@SM_MAGNUM,attack,7,9,1000,0,20000,yes,self,always,0,,,,,,,
3765,Deranged Adventurer@NPC_CRITICALSLASH,attack,170,1,2000,0,15000,yes,target,always,0,,,,,,,
3765,Deranged Adventurer@NPC_TALK,idle,682,10,2500,0,35000,yes,self,always,0,,,,,,,53
3765,Deranged Adventurer@NPC_TALK,idle,682,10,2500,0,30000,yes,self,always,0,,,,,,,54
// Meister ABR's (Automated Battle Robot)
20834,ABR_BATTLE_WARIOR@ABR_BATTLE_BUSTER,chase,8601,1,10000,500,5000,yes,target,always,0,,,,,,,
20834,ABR_BATTLE_WARIOR@ABR_BATTLE_BUSTER,attack,8601,1,10000,500,5000,yes,target,always,0,,,,,,,

View File

@ -4740,15 +4740,44 @@ Body:
- Id: 7762
Title: Make Chimeras rest in peace (Standby)
TimeLimit: 4h
- Id: 7776
Title: Suspicious sign
- Id: 7777
Title: What happened?
- Id: 7778
Title: What Muyeon saw
- Id: 7779
Title: Distressing ritual
- Id: 7780
Title: Nightmare in the ruined village
- Id: 7781
Title: Nightmare in the ruined village
- Id: 7782
Title: Stop the wizard!
Targets:
- Mob: ILL_HIGHWIZARD
Count: 1
- Id: 7783
Title: Stop the Wizard! - Pending
Title: Stop the wizard! - Pending
TimeLimit: 4h
- Id: 7784
Title: No mercy for illusions
Targets:
- Mob: ILL_NINE_TAIL
Count: 20
- Id: 7785
Title: No Mercy for Illusions - Pending
Title: No mercy for illusions - Pending
TimeLimit: 4h
- Id: 7786
Title: Remembering my ancestors
Targets:
- Mob: ILL_ARCHER_SKELETON
Count: 20
- Id: 7787
Title: Remembering my Ancestors - Pending
Title: Remembering my ancestors - Pending
TimeLimit: 4h
- Id: 7788
Title: Back to Muyeon
- Id: 7790
Title: Rock Ridge, Land of Opportunities
- Id: 7791

View File

@ -0,0 +1,250 @@
//===== rAthena Script =======================================
//= Episode 16.2 - Illusion Enchants
//===== Description: =========================================
//= [Walkthrough Conversion]
//= Illusion series related merchants and enchanters
//===== Changelogs: ==========================================
//= 1.0 Initial release [crazyarashi]
//= 1.1 Cleanup and improvements [Everade]
//============================================================
//============================================================
//= Illusion of Moonlight
//============================================================
pay_d03_i,160,45,3 script Gemcutter#ilp20 4_TOWER_17,3,3,{
mes "[ Gemcutter ]";
mes "Do you have business with me?";
next;
switch (select("What are you doing here?:Upgrade Weapon.:Upgrade Armor.")) {
case 1:
mes "[ Gemcutter ]";
mes "I came to the ruined village,";
mes "looking for some materials. Touched some strange light, and now I'm here.";
next;
mes "[ Gemcutter ]";
mes "I've decided to stick around for a little while. Figured I'd be safe so long as I stay close to this soldier.";
mes "I have a proposition for you. I want some materials that can only be found in this place.";
next;
mes "[ Gemcutter ]";
mes "Get them for me, and I'll improve your equipment in exchange. Just so you know, I can only improve certain types.";
next;
mes "[ Gemcutter ]";
mes "If you're interested, we can discuss the details of our bargain.";
close;
case 2:
disable_items;
if (checkweight(25271,1) == 0 || (MaxWeight - Weight) < 1000) {
mes "- You're carrying too many items to proceed. -";
close;
}
setarray .@reward_id[0],
26109, // Illusion Staff of Bordeaux
28725, // Illusion Moonlight Dagger
16063, // Illusion Long Mace
26007; // Illusion Spectral Spear
.@size = getarraysize(.@reward_id);
.@refine_req = 9;
for ( .@i = 0; .@i < .@size; ++.@i )
.@reward_name$[.@i] = replacestr( getitemname(.@reward_id[.@i]), ":", "" );
mes "[ Gemcutter ]";
mes "The following is the list of equipment I can handle.";
for ( .@i = 0; .@i < .@size; ++.@i )
mes "<ITEM>" + .@reward_name$[.@i] + "<INFO>" + .@reward_id[.@i] + "</INFO></ITEM>";
next;
mes "[ Gemcutter ]";
mes "Make sure ^0000FFyour equipment is refined to at least +" + .@refine_req + "^000000 before bringing it to me.";
mes "That's the minimum requirement for my upgrade service to have any visible effects on your equipment.";
next;
mes "[ Gemcutter ]";
mes "Make sure you're ^0000FFequipped with the item that you want to improve.^000000";
mes "Otherwise, I can't evaluate its condition.";
next;
mes "[ Gemcutter ]";
mes "As you may have guessed, your equipment will transform into something new after this.";
mes "In other words, ^0000FFIt'll lose its current refining levels, cards and enchantments.^000000";
next;
mes "[ Gemcutter ]";
mes "And I need ^0000FFIllusion Stones and some other materials^000000 to upgrade your equipment.";
mes "Pick an item you want and I'll tell you what I need.";
next;
switch( select( .@reward_name$[0], .@reward_name$[1], .@reward_name$[2], .@reward_name$[3] ) ) {
case 1:
.@reward = .@reward_id[0]; // Illusion Staff of Bordeaux
.@eq_req = 1648; // Staff of Bordeaux
.@part = EQI_HAND_R;
setarray .@items_req[0],
25271,30, // Illusion Stones
25256,100; // Hazy Dreams
break;
case 2:
.@reward = .@reward_id[1]; // Illusion Moonlight Dagger
.@eq_req = 1234; // Moonlight Dagger
.@part = EQI_HAND_R;
setarray .@items_req[0],
25271,60, // Illusion Stones
25256,100; // Hazy Dreams
break;
case 3:
.@reward = .@reward_id[2]; // Illusion Long Mace
.@eq_req = 1525; // Long Mace
.@part = EQI_HAND_R;
setarray .@items_req[0],
25271,10, // Illusion Stones
25256,20; // Hazy Dreams
break;
case 4:
.@reward = .@reward_id[3]; // Illusion Spectral Spear
.@eq_req = 1477; // Spectral Spear
.@part = EQI_HAND_R;
setarray .@items_req[0],
25271,20, // Illusion Stones
25256,100; // Hazy Dreams
break;
}
break;
case 3:
disable_items;
if (checkweight(25271,1) == 0 || (MaxWeight - Weight) < 1000) {
mes "- You're carrying too many items to proceed. -";
close;
}
setarray .@reward_id[0],
19209, // Illusion Nurse Cap
19210, // Illusion Apple of Archer
15195, // Illusion Puente Robe
20838, // Illusion Muffler [1]
22133; // Illusion Shoes [1]
.@size = getarraysize(.@reward_id);
.@refine_req = 9;
for ( .@i = 0; .@i < .@size; ++.@i )
.@reward_name$[.@i] = replacestr( getitemname(.@reward_id[.@i]), ":", "" );
mes "[ Gemcutter ]";
mes "The following is the list of equipment I can handle.";
for ( .@i = 0; .@i < .@size; ++.@i )
mes "<ITEM>" + .@reward_name$[.@i] + "<INFO>" + .@reward_id[.@i] + "</INFO></ITEM>";
next;
mes "[ Gemcutter ]";
mes "Make sure ^0000FFyour equipment is refined to at least +" + .@refine_req + "^000000 before bringing it to me.";
mes "That's the minimum requirement for my upgrade service to have any visible effects on your equipment.";
next;
mes "[ Gemcutter ]";
mes "Make sure you're ^0000FFequipped with the item that you want to improve.^000000";
mes "Otherwise, I can't evaluate its condition.";
next;
mes "[ Gemcutter ]";
mes "As you may have guessed, your equipment will transform into something new after this.";
mes "In other words, ^0000FFIt'll lose its current refining levels, cards and enchantments.^000000";
next;
mes "[ Gemcutter ]";
mes "And I need ^0000FFIllusion Stones and some other materials^000000 to upgrade your equipment.";
mes "Pick an item you want and I'll tell you what I need.";
next;
switch( select( .@reward_name$[0], .@reward_name$[1], .@reward_name$[2], .@reward_name$[3], .@reward_name$[4] ) ) {
case 1:
.@reward = .@reward_id[0]; // Illusion Nurse Cap
.@eq_req = 2277; // Nurse Cap
.@part = EQI_HEAD_TOP;
setarray .@items_req[0],
25271,10, // Illusion Stones
25257,100; // Bloody_Love_Letter
break;
case 2:
.@reward = .@reward_id[1]; // Illusion Apple of Archer
.@eq_req = 2285; // Apple of Archer
.@part = EQI_HEAD_TOP;
setarray .@items_req[0],
25271,10, // Illusion Stones
25258,100; // Broken_Arrow
break;
case 3:
.@reward = .@reward_id[2]; // Illusion Puente Robe
.@eq_req = 15012; // Puente Robe
.@part = EQI_ARMOR;
setarray .@items_req[0],
25271,10, // Illusion Stones
25256,100; // Hazy Dreams
break;
case 4:
.@reward = .@reward_id[3]; // Illusion Muffler [1]
.@eq_req = 2504; // Muffler
.@part = EQI_GARMENT;
setarray .@items_req[0],
25271,10, // Illusion Stones
23228,100; // Hazy_Mooncake
break;
case 5:
.@reward = .@reward_id[4]; // Illusion Shoes [1]
.@eq_req = 2404; // Shoes
.@part = EQI_SHOES;
setarray .@items_req[0],
25271,10, // Illusion Stones
23228,100; // Hazy_Mooncake
break;
}
break;
}
mes "[Gemcutter]";
mes "For that equipment, I need the following materials.";
mes "^4d4fff +" + .@refine_req + " " + getitemname(.@eq_req) + "";
mes "" + .@items_req[1] + " " + getitemname(.@items_req[0]) + "";
mes "" + .@items_req[3] + " " + getitemname(.@items_req[2]) + "^000000";
mes "Do you want to continue?";
next;
if (select( "Continue.", "I'll bring those materials." ) == 2) {
mes "[Gemcutter]";
mes "Come back when you're ready.";
close;
}
if (countitem(.@items_req[0]) < .@items_req[1] || countitem(.@items_req[2]) < .@items_req[3]) {
mes "[Gemcutter]";
mes "You don't have all the materials.";
close;
}
.@equip_id = getequipid(.@part);
if (.@equip_id == -1) {
mes "[Gemcutter]";
if (.@part == EQI_HAND_R)
mes "Where's your weapon?";
else
mes "Why don't you go wear that equipment first?";
close;
}
if (.@equip_id != .@eq_req) {
mes "[Gemcutter]";
mes "Please equip a ^4d4fff+9 " + getitemname(.@eq_req) + ".^000000";
close;
}
if (getequiprefinerycnt(.@part) < .@refine_req) {
mes "[Gemcutter]";
mes "I can only upgrade equipment that is ^4d4fffrefined to at least +" + .@refine_req + ".^000000";
close;
}
mes "[Gemcutter]";
mes "There you go.";
delequip .@part;
delitem .@items_req[0], .@items_req[1];
delitem .@items_req[2], .@items_req[3];
getitem .@reward,1;
close;
OnTouch:
if (illusion_moonlight > 7)
npctalk "What kind of place is this?", "", bc_self;
end;
}

View File

@ -0,0 +1,52 @@
//===== rAthena Script =======================================
//= Illusion of Moonlight
//===== Description: =========================================
//= Illusion of Moonlight monster spawn script.
//===== Additional Comments: =================================
//= 1.0 Initial Release [crazyarashi]
//= 1.1 Added missing boss kill label [Everade]
//============================================================
pay_d03_i monster Blue Plant 1079,1
pay_d03_i monster Green Plant 1080,1,5000,0
pay_d03_i monster Yellow Plant 1081,1,5000,0
pay_d03_i monster White Plant 1082,5,5000,0
pay_d03_i monster Whisper 1185,1,5000,0
pay_d03_i,154,112 monster Whisper 1185,1,5000,0
pay_d03_i,161,117 monster Whisper 1185,1,5000,0
pay_d03_i,84,63 monster Whisper 1185,1,5000,0
pay_d03_i,81,61 monster Whisper 1185,1,5000,0
pay_d03_i monster Resentful Munak 3760,20,5000,0
pay_d03_i monster Resentful Bongun 3761,20,5000,0
pay_d03_i monster Resentful Sohee 3762,20,5000,0
pay_d03_i monster Resentful Soldier 3763,15
pay_d03_i monster Deranged Adventurer 3765,5,15000,0
pay_d03_i,55,75 monster Wizard of the Truth 3764,1,30000,0
pay_d03_i monster Angry Nine Tail 3759,10,5000,0,"illusion_mob#moonlight::OnKill"
- script illusion_mob#moonlight -1,{
end;
OnKill:
if (.mvp_spawn == 1)
end;
.kill_count += 1;
if (.kill_count < 1000) {
if (rand(100) < 10) // !todo Confirm chance
donpcevent strnpcinfo(0)+"::OnBossSpawn";
}
end;
OnBossSpawn:
.mvp_spawn = 1;
.kill_count = 0;
monster "pay_d03_i",0,0,"Angry Moonlight Flower",3758,1,"illusion_mob#moonlight::OnBossKill";
mapannounce "pay_d03_i", "Angry Moonlight Flower: Who dares bully us again? They're in a lot of trouble!", bc_map, "0x70dbdb";
end;
OnBossKill:
.mvp_spawn = 0;
.kill_count = 0;
end;
}

File diff suppressed because it is too large Load Diff

View File

@ -115,6 +115,7 @@ npc: npc/re/merchants/clothing_buff_removal.txt
npc: npc/re/merchants/coin_exchange.txt
npc: npc/re/merchants/Dealer_Update.txt
npc: npc/re/merchants/diamond.txt
npc: npc/re/merchants/enchan_illusion_16_2.txt
npc: npc/re/merchants/enchan_ko.txt
npc: npc/re/merchants/enchan_mal.txt
npc: npc/re/merchants/enchan_mora.txt
@ -208,6 +209,7 @@ npc: npc/re/quests/quests_15_1.txt
npc: npc/re/quests/quests_15_2.txt
npc: npc/re/quests/quests_16_1.txt
npc: npc/re/quests/quests_16_2.txt
npc: npc/re/quests/quests_16_2_illusion.txt
npc: npc/re/quests/quests_aldebaran.txt
npc: npc/re/quests/quests_brasilis.txt
npc: npc/re/quests/quests_dewata.txt

View File

@ -47,6 +47,7 @@ npc: npc/re/mobs/dungeons/mosk_dun.txt
npc: npc/re/mobs/dungeons/nyd_dun.txt
npc: npc/re/mobs/dungeons/odin.txt
npc: npc/re/mobs/dungeons/orcsdun.txt
npc: npc/re/mobs/dungeons/pay_d03_i.txt
npc: npc/re/mobs/dungeons/pay_dun.txt
npc: npc/re/mobs/dungeons/prt_maze.txt
npc: npc/re/mobs/dungeons/prt_prison.txt