mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 23:44:51 +08:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0d7a07926 | ||
|
|
9197f007f9 | ||
|
|
4ff8d369b3 | ||
|
|
b61a921c7b | ||
|
|
1fd631baab | ||
|
|
c90613d4be |
@@ -1015,8 +1015,8 @@ UPDATE `quest_template` SET `LogDescription` = "Recover 20 Plagued Flesh Samples
|
|||||||
|
|
||||||
|
|
||||||
/* Clam Bait */
|
/* Clam Bait */
|
||||||
UPDATE `quest_template` SET `LogDescription` = "Find 110 pieces of Soft-shelled Clam Meat and bring it back to Mai'Lahii at Shadowprey Village." WHERE `ID` = 6142;
|
UPDATE `quest_template` SET `LogDescription` = "Find 10 pieces of Soft-shelled Clam Meat and bring it back to Mai'Lahii at Shadowprey Village." WHERE `ID` = 6142;
|
||||||
UPDATE `quest_template` SET `QuestDescription` = "You have the look of a fisherman, $c! I love to fish - been fishing all my life. The best bait to use is soft-shelled clam meat; the fish just can't resist, you know what I mean?$B$BUp north you will find a wrecked ship off the coast. Soft-shelled clams are littered throughout the area. If you bring me back 110 pieces of soft-shelled clam meat, I will give you something in return." WHERE `ID` = 6142;
|
UPDATE `quest_template` SET `QuestDescription` = "You have the look of a fisherman, $c! I love to fish - been fishing all my life. The best bait to use is soft-shelled clam meat; the fish just can't resist, you know what I mean?$B$BUp north you will find a wrecked ship off the coast. Soft-shelled clams are littered throughout the area. If you bring me back 10 pieces of soft-shelled clam meat, I will give you something in return." WHERE `ID` = 6142;
|
||||||
|
|
||||||
|
|
||||||
/* Twisted Evils */
|
/* Twisted Evils */
|
||||||
|
|||||||
@@ -5,3 +5,5 @@ INSERT INTO `creature_questender` (`id`, `quest`) VALUES (15283, 8344);
|
|||||||
-- Windows to the Source (Warlock)
|
-- Windows to the Source (Warlock)
|
||||||
DELETE FROM `creature_queststarter` WHERE `id`=15283 AND `quest`=8344;
|
DELETE FROM `creature_queststarter` WHERE `id`=15283 AND `quest`=8344;
|
||||||
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (15283, 8344);
|
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (15283, 8344);
|
||||||
|
INSERT INTO creature_loot_template (Entry, Item, Reference, Chance, QuestRequired, LootMode, GroupId, MinCount, MaxCount, Comment) VALUES
|
||||||
|
(15298, 20935, 0, 80, 1, 1, 0, 1, 1, 'Tainted Arcane Wraith - Tainted Wraith Essence');
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ void IndividualProgression::AdjustStats(Player* player, float computedAdjustment
|
|||||||
float IndividualProgression::ComputeVanillaAdjustment(Player *player, float configAdjustmentValue)
|
float IndividualProgression::ComputeVanillaAdjustment(Player *player, float configAdjustmentValue)
|
||||||
{
|
{
|
||||||
float adjustmentApplyPercent = (player->getLevel() - 10.0f) / 50.0f;
|
float adjustmentApplyPercent = (player->getLevel() - 10.0f) / 50.0f;
|
||||||
return player->getLevel() > 10 ? (1.0f - (configAdjustmentValue * adjustmentApplyPercent)) : 1;
|
return player->getLevel() > 10 ? 1.0f - ((1.0f - configAdjustmentValue) * adjustmentApplyPercent) : 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnGiveXP(Player* player, uint32& amount, Unit* /*victim*/) override
|
void OnGiveXP(Player* player, uint32& amount, Unit* /*victim*/, uint8 /*xpSource*/) override
|
||||||
{
|
{
|
||||||
if (!sIndividualProgression->enabled)
|
if (!sIndividualProgression->enabled)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user