u can make it only 1 time untill server restart
first search in character.cs for
Code:
public Companion MyCompanion;
Code:
public byte ValentineUsed = 0; public byte ValentineGirlUsed = 0;
1st NPC
Code:
#region Valentine Man case 100011: { if (Control == 0) { GC.AddSend(Packets.NPCSay(" Happy Valentine. I love my girlfriend very much and i want her to be happy")); GC.AddSend(Packets.NPCSay(" I only need a RedRose for her to make her happy in the Valentine,so i need to teleport u to a special map to get the rose , can u help me?")); GC.AddSend(Packets.NPCLink("Yes,Teleport me there", 2)); GC.AddSend(Packets.NPCLink("Not Now", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } if (Control == 2) { if (GC.MyChar.ValentineUsed == 0) { GC.MyChar.ValentineUsed++; GC.MyChar.Teleport(1050, 155, 151); GC.AddSend(Packets.NPCSay("Here you are.")); GC.AddSend(Packets.NPCLink("Thanks.", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } else { GC.AddSend(Packets.NPCSay("ty for helping me today plz come towmorrow.")); GC.AddSend(Packets.NPCLink("ok.", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } } } break; #endregion
first open MobInfos.txt and add this
Code:
11170 ValentineDemon 1 254 127 900000 0 0 0 5000 5000 1 85 2 True 2 1 50 1000 12 True
Code:
11170 60 1050 153 149 148 141
Code:
else if (MyMath.ChanceSuccess(DropRates.Meteor)) { DI2.Info.ID = 1088001; DI2.Info.MaxDur = DI2.Info.DBInfo.Durability; DI2.Info.CurDur = DI2.Info.MaxDur; }
and add this below
Code:
#region Map Drops if (Name == "ValentineDemon" && MyMath.ChanceSuccess(100)) { DI2.Info.ID = 422020; DI2.Info.MaxDur = DI2.Info.DBInfo.Durability; DI2.Info.CurDur = DI2.Info.MaxDur; DI2.Info.Bless = 7; DI2.Info.Plus = 12; DI2.Info.Soc1 = Item.Gem.SuperDragonGem; DI2.Info.Soc2 = Item.Gem.SuperDragonGem; DI2.Info.MaxDur = DI2.Info.DBInfo.Durability; } #endregion
here is the 2nd NPC
Code:
#region Valentine Girl case 1000121: { if (Control == 0) { GC.AddSend(Packets.NPCSay("I miss my boyfriend like crazy")); GC.AddSend(Packets.NPCLink("He sent u a rose", 1)); GC.AddSend(Packets.NPCLink("i got to go", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } if (Control == 1) { if (GC.MyChar.ValentineGirlUsed == 0) { GC.MyChar.ValentineGirlUsed++; GC.AddSend(Packets.NPCSay("u have helped me todat plz come towmorrow")); GC.AddSend(Packets.NPCLink("ok", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); if (GC.MyChar.InventoryContains(422020, 1)) { GC.MyChar.RemoveItem(GC.MyChar.NextItem(422020)); GC.MyChar.CPs += 100000; GC.AddSend(Packets.NPCSay("ty very much i should reward u with 100k CPs.")); GC.AddSend(Packets.NPCLink("Great", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } else { GC.AddSend(Packets.NPCSay("u don't have a rose don't fool me")); GC.AddSend(Packets.NPCLink("cya", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } } else { GC.AddSend(Packets.NPCSay("ty for helping me today plz come towmorrow")); GC.AddSend(Packets.NPCLink("ok bb", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } } } break; #endregion
and put this in NPCs.txt
Code:
100011 2780 2 32 1002 377 323 1000121 8752 2 0 1002 385 375