Mascote 57++ (Nao Testado !
+2
PauloMasterCo
Felipe Soouza
6 participantes
Página 1 de 1
Mascote 57++ (Nao Testado !
SÓ FAZER ESSE PASSO A PASSO !! , E PEGAR O PETCH DO 2.0
INSERT INTO `spells` VALUES ('12000', '12000', '0019', 'EasterRabbit', '0', '0', '0', '0002', '0000', '0000', '3322', '0000', '0100', '0060', '0000', '0005', '-1', '0000', '0000', '0', '0000', '0000', '0000', '0060', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001', '0'); INSERT INTO `spells` VALUES ('12001', '12001', '0019', 'EasterChicken', '0', '0', '0', '0002', '0000', '0000', '2', '0000', '0100', '0060', '0000', '0005', '-1', '0000', '0000', '0', '0000', '0000', '0000', '0060', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001', '0'); INSERT INTO `spells` VALUES ('12002', '12002', '0019', 'FlowerFairy', '0', '0', '0', '0002', '0000', '0000', '5058', '0000', '0100', '0060', '0000', '0005', '-1', '0000', '0000', '0', '0000', '0000', '0000', '0060', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001', '0'); INSERT INTO `spells` VALUES ('12020', '12020', '0072', 'SummonFox', '0', '0', '0', '0002', '0000', '0000', '7554', '0000', '0100', '0000', '0000', '0010', '-1', '0000', '0000', '0', '0000', '0002', '0000', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001', '0'); INSERT INTO `spells` VALUES ('12030', '12030', '0072', 'SummonCrane', '0', '0', '0', '0002', '0000', '0000', '7555', '0000', '0100', '0000', '0000', '0010', '-1', '0000', '0000', '0', '0000', '0002', '0000', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001', '0'); INSERT INTO `spells` VALUES ('12031', '12030', '0072', 'SummonCrane', '0', '0', '0', '0002', '0001', '0000', '7556', '0000', '0100', '0000', '0000', '0010', '-1', '0000', '0000', '0', '0000', '0002', '0000', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001', '0'); INSERT INTO `spells` VALUES ('12040', '12040', '0072', 'SummonPanda', '0', '0', '0', '0002', '0000', '0000', '7557', '0000', '0100', '0000', '0000', '0010', '-1', '0000', '0000', '0', '0000', '0002', '0000', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001', '0'); INSERT INTO `spells` VALUES ('12041', '12040', '0072', 'SummonPanda', '0', '0', '0', '0002', '0001', '0000', '7558', '0000', '0100', '0000', '0000', '0010', '-1', '0000', '0000', '0', '0000', '0002', '0000', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001', '0'); INSERT INTO `spells` VALUES ('12050', '12050', '0072', 'SummonVoltaicWarg', '0', '0', '0', '0002', '0000', '0000', '7559', '0000', '0100', '0000', '0000', '0010', '-1', '0000', '0000', '0', '0000', '0002', '0000', '0000', '0', '0000', '0', '0000', '0', '0000', '0', '0000', '0000', '0000', '0001', '0'); INSERT INTO `monsterinfos` VALUES ('7556', 'FairySorceress', '0001', '0847', '2000', '00', '0', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0001', '3', '0000', '0000', '0002', '0000', '0000', '000', '000', '000', '000', '000', '000', '000', '0000', '0000', '0000', '0000', '0100', '0000', '10000', '01', '0', '0', '100', '0', '0', '0'); INSERT INTO `monsterinfos` VALUES ('7559', 'VoltaicWarg', '0001', '0850', '9999', '00', '0', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0001', '3', '0000', '0000', '0000', '0000', '0000', '000', '000', '000', '000', '000', '000', '000', '0000', '0000', '0000', '0000', '0100', '0000', '10000', '00', '0', '0', '100', '0', '0', '0'); INSERT INTO `monsterinfos` VALUES ('7554', 'LoveFox', '0001', '0296', '9999', '00', '0', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0001', '3', '0000', '0000', '0000', '0000', '0000', '000', '000', '000', '000', '000', '000', '000', '0000', '0000', '0000', '0000', '0100', '0000', '10000', '03', '0', '0', '100', '0', '0', '0'); INSERT INTO `monsterinfos` VALUES ('7558', 'PandaBattlemaste', '0001', '0848', '9999', '00', '0', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0001', '3', '0000', '0000', '0000', '0000', '0000', '000', '000', '000', '000', '000', '000', '000', '0000', '0000', '0000', '0000', '0100', '0000', '10000', '01', '0', '0', '100', '0', '0', '0'); INSERT INTO `monsterinfos` VALUES ('7555', 'CranePrincess', '0001', '0847', '9999', '00', '0', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0001', '3', '0000', '0000', '0000', '0000', '0000', '000', '000', '000', '000', '000', '000', '000', '0000', '0000', '0000', '0000', '0100', '0000', '10000', '01', '0', '0', '100', '0', '0', '0'); INSERT INTO `monsterinfos` VALUES ('7557', 'WarPanda', '0001', '0849', '9999', '00', '0', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0001', '3', '0000', '0000', '0000', '0000', '0000', '000', '000', '000', '000', '000', '000', '000', '0000', '0000', '0000', '0000', '0100', '0000', '10000', '01', '0', '0', '100', '0', '0', '0'); procure na source Game > Attacking > Handle.cs o seguindo código: #region Companions e deixa esse código abaixo! #region Companions case 4000: case 4010: case 4020: case 4050: case 4060: case 4070: case 12020: case 12030: case 12040: case 12050: { if (CanUseSpell(spell, attacker.Owner)) { if (attacker.Owner.Companion != null) { if (attacker.Owner.Companion.MonsterInfo != null) { attacker.Owner.Map.RemoveEntity(attacker.Owner.Companion); Data data = new Data(true); data.UID = attacker.Owner.Companion.UID; data.ID = Data.RemoveEntity; attacker.Owner.Companion.MonsterInfo.SendScreen(data); attacker.Owner.Companion = null; } } PrepareSpell(spell, attacker.Owner); SpellUse spellUse = new SpellUse(true); spellUse.Attacker = attacker.UID; spellUse.SpellID = spell.ID; spellUse.SpellLevel = spell.Level; spellUse.X = X; spellUse.Y = Y; spellUse.AddTarget(attacker.UID, 0, attack); attacker.Owner.SendScreen(spellUse, true); attacker.Owner.Companion = new Entity(EntityFlag.Monster, true); attacker.Owner.Companion.MonsterInfo = new OpenConquer.Database.MonsterInformation(); Database.MonsterInformation mt = Database.MonsterInformation.MonsterInformations[spell.Power]; attacker.Owner.Companion.Owner = attacker.Owner; attacker.Owner.Companion.MapObjType = MapObjectType.Monster; attacker.Owner.Companion.MonsterInfo = mt.Copy(); attacker.Owner.Companion.MonsterInfo.Owner = attacker.Owner.Companion; attacker.Owner.Companion.Name = mt.Name; attacker.Owner.Companion.MinAttack = mt.MinAttack; attacker.Owner.Companion.MaxAttack = attacker.Owner.Companion.MagicAttack = mt.MaxAttack; attacker.Owner.Companion.Hitpoints = attacker.Owner.Companion.MaxHitpoints = mt.Hitpoints; attacker.Owner.Companion.Body = mt.Mesh; attacker.Owner.Companion.Level = mt.Level; attacker.Owner.Companion.UID = (uint)(attacker.UID - 200000); attacker.Owner.Companion.MapID = attacker.Owner.Map.ID; attacker.Owner.Companion.SendUpdates = true; attacker.Owner.Companion.X = attacker.X; attacker.Owner.Companion.Y = attacker.Y; attacker.Owner.Map.AddEntity(attacker.Owner.Companion); attacker.Owner.SendScreenSpawn(attacker.Owner.Companion, true); } break; } #endregion Agora busque por isso: #region Trasnformations cole isso na região: #region Transformations case 1270: case 1280: case 1350: case 1360: case 3321: case 12000: case 12001: case 12002: { if (CanUseSpell(spell, attacker.Owner)) { if (attacker.MapID == 1036) return; if (attacker.MapID == 1950) return; bool wasTransformated = attacker.Transformed; PrepareSpell(spell, attacker.Owner); #region Atributes switch (spell.ID) { case 3321://GM skill { attacker.TransformationMaxAttack = 2000000; attacker.TransformationMinAttack = 2000000; attacker.TransformationDefence = 65355; attacker.TransformationMagicDefence = 65355; attacker.TransformationDodge = 35; attacker.TransformationTime = 65355; attacker.TransformationID = 223; attacker.Hitpoints = attacker.MaxHitpoints; attacker.Mana = attacker.MaxMana; break; } case 1350: switch (spell.Level) { case 0: { attacker.TransformationMaxAttack = 182; attacker.TransformationMinAttack = 122; attacker.TransformationDefence = 1300; attacker.TransformationMagicDefence = 94; attacker.TransformationDodge = 35; attacker.TransformationTime = 39; attacker.TransformationID = 207; break; } case 1: { attacker.TransformationMaxAttack = 200; attacker.TransformationMinAttack = 134; attacker.TransformationDefence = 1400; attacker.TransformationMagicDefence = 96; attacker.TransformationDodge = 40; attacker.TransformationTime = 49; attacker.TransformationID = 207; break; } case 2: { attacker.TransformationMaxAttack = 240; attacker.TransformationMinAttack = 160; attacker.TransformationDefence = 1500; attacker.TransformationMagicDefence = 97; attacker.TransformationDodge = 45; attacker.TransformationTime = 59; attacker.TransformationID = 207; break; } case 3: { attacker.TransformationMaxAttack = 258; attacker.TransformationMinAttack = 172; attacker.TransformationDefence = 1600; attacker.TransformationMagicDefence = 98; attacker.TransformationDodge = 50; attacker.TransformationTime = 69; attacker.TransformationID = 267; break; } case 4: { attacker.TransformationMaxAttack = 300; attacker.TransformationMinAttack = 200; attacker.TransformationDefence = 1900; attacker.TransformationMagicDefence = 99; attacker.TransformationDodge = 55; attacker.TransformationTime = 79; attacker.TransformationID = 267; break; } } break; case 1270: switch (spell.Level) { case 0: { attacker.TransformationMaxAttack = 282; attacker.TransformationMinAttack = 179; attacker.TransformationDefence = 73; attacker.TransformationMagicDefence = 34; attacker.TransformationDodge = 9; attacker.TransformationTime = 34; attacker.TransformationID = 214; break; } case 1: { attacker.TransformationMaxAttack = 395; attacker.TransformationMinAttack = 245; attacker.TransformationDefence = 126; attacker.TransformationMagicDefence = 45; attacker.TransformationDodge = 12; attacker.TransformationTime = 39; attacker.TransformationID = 214; break; } case 2: { attacker.TransformationMaxAttack = 616; attacker.TransformationMinAttack = 367; attacker.TransformationDefence = 180; attacker.TransformationMagicDefence = 53; attacker.TransformationDodge = 15; attacker.TransformationTime = 44; attacker.TransformationID = 214; break; } case 3: { attacker.TransformationMaxAttack = 724; attacker.TransformationMinAttack = 429; attacker.TransformationDefence = 247; attacker.TransformationMagicDefence = 53; attacker.TransformationDodge = 15; attacker.TransformationTime = 49; attacker.TransformationID = 214; break; } case 4: { attacker.TransformationMaxAttack = 1231; attacker.TransformationMinAttack = 704; attacker.TransformationDefence = 499; attacker.TransformationMagicDefence = 50; attacker.TransformationDodge = 20; attacker.TransformationTime = 54; attacker.TransformationID = 274; break; } case 5: { attacker.TransformationMaxAttack = 1573; attacker.TransformationMinAttack = 941; attacker.TransformationDefence = 601; attacker.TransformationMagicDefence = 53; attacker.TransformationDodge = 25; attacker.TransformationTime = 59; attacker.TransformationID = 274; break; } case 6: { attacker.TransformationMaxAttack = 1991; attacker.TransformationMinAttack = 1107; attacker.TransformationDefence = 1029; attacker.TransformationMagicDefence = 55; attacker.TransformationDodge = 30; attacker.TransformationTime = 64; attacker.TransformationID = 274; break; } case 7: { attacker.TransformationMaxAttack = 2226; attacker.TransformationMinAttack = 1235; attacker.TransformationDefence = 1029; attacker.TransformationMagicDefence = 55; attacker.TransformationDodge = 35; attacker.TransformationTime = 69; attacker.TransformationID = 274; break; } } break; case 1360: switch (spell.Level) { case 0: { attacker.TransformationMaxAttack = 1215; attacker.TransformationMinAttack = 610; attacker.TransformationDefence = 100; attacker.TransformationMagicDefence = 96; attacker.TransformationDodge = 30; attacker.TransformationTime = 59; attacker.TransformationID = 217; break; } case 1: { attacker.TransformationMaxAttack = 1310; attacker.TransformationMinAttack = 650; attacker.TransformationDefence = 400; attacker.TransformationMagicDefence = 97; attacker.TransformationDodge = 30; attacker.TransformationTime = 79; attacker.TransformationID = 217; break; } case 2: { attacker.TransformationMaxAttack = 1420; attacker.TransformationMinAttack = 710; attacker.TransformationDefence = 650; attacker.TransformationMagicDefence = 98; attacker.TransformationDodge = 30; attacker.TransformationTime = 89; attacker.TransformationID = 217; break; } case 3: { attacker.TransformationMaxAttack = 1555; attacker.TransformationMinAttack = 780; attacker.TransformationDefence = 720; attacker.TransformationMagicDefence = 98; attacker.TransformationDodge = 30; attacker.TransformationTime = 99; attacker.TransformationID = 277; break; } case 4: { attacker.TransformationMaxAttack = 1660; attacker.TransformationMinAttack = 840; attacker.TransformationDefence = 1200; attacker.TransformationMagicDefence = 99; attacker.TransformationDodge = 30; attacker.TransformationTime = 109; attacker.TransformationID = 277; break; } } break; case 1280: switch (spell.Level) { case 0: { attacker.TransformationMaxAttack = 930; attacker.TransformationMinAttack = 656; attacker.TransformationDefence = 290; attacker.TransformationMagicDefence = 45; attacker.TransformationDodge = 40; attacker.TransformationTime = 29; attacker.TransformationID = 213; break; } case 1: { attacker.TransformationMaxAttack = 1062; attacker.TransformationMinAttack = 750; attacker.TransformationDefence = 320; attacker.TransformationMagicDefence = 46; attacker.TransformationDodge = 40; attacker.TransformationTime = 34; attacker.TransformationID = 213; break; } case 2: { attacker.TransformationMaxAttack = 1292; attacker.TransformationMinAttack = 910; attacker.TransformationDefence = 510; attacker.TransformationMagicDefence = 50; attacker.TransformationDodge = 40; attacker.TransformationTime = 39; attacker.TransformationID = 213; break; } case 3: { attacker.TransformationMaxAttack = 1428; attacker.TransformationMinAttack = 1000; attacker.TransformationDefence = 600; attacker.TransformationMagicDefence = 53; attacker.TransformationDodge = 40; attacker.TransformationTime = 44; attacker.TransformationID = 213; break; } case 4: { attacker.TransformationMaxAttack = 1570; attacker.TransformationMinAttack = 1100; attacker.TransformationDefence = 700; attacker.TransformationMagicDefence = 55; attacker.TransformationDodge = 40; attacker.TransformationTime = 49; attacker.TransformationID = 213; break; } case 5: { attacker.TransformationMaxAttack = 1700; attacker.TransformationMinAttack = 1200; attacker.TransformationDefence = 880; attacker.TransformationMagicDefence = 57; attacker.TransformationDodge = 40; attacker.TransformationTime = 54; attacker.TransformationID = 273; break; } case 6: { attacker.TransformationMaxAttack = 1900; attacker.TransformationMinAttack = 1300; attacker.TransformationDefence = 1540; attacker.TransformationMagicDefence = 59; attacker.TransformationDodge = 40; attacker.TransformationTime = 59; attacker.TransformationID = 273; break; } case 7: { attacker.TransformationMaxAttack = 2100; attacker.TransformationMinAttack = 1500; attacker.TransformationDefence = 1880; attacker.TransformationMagicDefence = 61; attacker.TransformationDodge = 40; attacker.TransformationTime = 59; attacker.TransformationID = 273; break; } case 8: { attacker.TransformationMaxAttack = 2300; attacker.TransformationMinAttack = 1600; attacker.TransformationDefence = 1970; attacker.TransformationMagicDefence = 63; attacker.TransformationDodge = 40; attacker.TransformationTime = 59; attacker.TransformationID = 273; break; } } break; } #endregion SpellUse spellUse = new SpellUse(true); spellUse.Attacker = attacker.UID; spellUse.SpellID = spell.ID; spellUse.SpellLevel = spell.Level; spellUse.X = X; spellUse.Y = Y; spellUse.AddTarget(attacker.UID, (uint)0, attack); attacker.Owner.SendScreen(spellUse, true); attacker.TransformationStamp = Time32.Now; attacker.TransformationMaxHP = 3000; if (spell.ID == 1270) attacker.TransformationMaxHP = 50000; attacker.TransformationAttackRange = 3; if (spell.ID == 1360) attacker.TransformationAttackRange = 10; if (!wasTransformated) { double maxHP = attacker.MaxHitpoints; double HP = attacker.Hitpoints; double point = HP / maxHP; attacker.Hitpoints = (uint)(attacker.TransformationMaxHP * point); } attacker.Update(Update.MaxHitpoints, attacker.TransformationMaxHP, false); } break; } #endregion |
Felipe Soouza- Membro
- Mensagens : 10
Data de inscrição : 29/05/2014
Idade : 27
PauloMasterCo- Membro
- Mensagens : 17
Data de inscrição : 30/05/2014
Idade : 28
Localização : Junqueiropolis
Re: Mascote 57++ (Nao Testado !
irei testar, jaja eu deixo meu thanks aqui mano
ArnaldoPrieto- Membro
- Mensagens : 5
Data de inscrição : 28/05/2014
Re: Mascote 57++ (Nao Testado !
Pode disponibilizar o patch ou a versão que é o patch??
Lucas Almeida- Membro
- Mensagens : 9
Data de inscrição : 31/05/2014
Idade : 25
Localização : Paranatinga-MT
Re: Mascote 57++ (Nao Testado !
tem q disponibilizar o patch né
eulario- Membro
- Mensagens : 22
Data de inscrição : 22/08/2015
Re: Mascote 57++ (Nao Testado !
Felipe Costa escreveu:PauloMasterCo escreveu:foto?
e vc felipe tem o patch dos mascotes?
eulario- Membro
- Mensagens : 22
Data de inscrição : 22/08/2015
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
|
|