PROGRESS 4/18/2025 continued....part 2
//base_spells_new_repository.h
LINE 1454 - Added in line for v.pushback for classes17
-- Again, need to push each number in the array forward by +1 -- and will need to revisit this if I make another class
(Won't post it here because forums throw errors, but its a long list.)
LINE 1713 - ADDED in a line for classes17 (thankfully no array to adjust here..)
LINE 1981 - ADDED in a line for classes17 (thankfully no array to adjust here..)
LINE 2251 - Another array like mentioned above. Added a line here for classes17
Bump it +1 where necessary.
LINE 2507 - Another array like mentioned above. Added a line here for classes17
Bump it +1 where necessary.
LINE 2823 - ADDED in a line for classes17 (thankfully no array to adjust here..)
LINE 3077 - ADDED in a line for classes17 (thankfully no array to adjust here..)
//item_data.cpp
LINE 170 - IsEquipable Class set to uint32
LINE 176 - IsClassEquipable Class set to uint32
//item_data.h
LINE 544 - IsEquipable Class set to uint32
LINE 545 - IsClassEquipable Class set to uint32
//item_instance.cpp
LINE 234 - IsEquipable Class set to uint32
LINE 244 - IsEquipable Class set to uint32
//item_instance.h
LINE 101 - IsEquipable class_ set to uint32
LINE 103 - IsClassEquipable class_ set to uint32
//mob.cpp
LINE 7688 uint16 item_class set to uint32
Quote:
//client.cpp
LINE 2185 under SetClassStartingSkills
Added:
if (cle->GetClientVersion() < static_cast<uint8>(EQ::versions::ClientVersion::Ro F2) && pp->class_ == Class::RuneKnight) {
pp->skills[EQ::skills::Skill1HBlunt] = 5;
pp->skills[EQ::skills::Skill1HSlashing] = 5;
pp->skills[EQ::skills::Skill2HBlunt] = 5;
pp->skills[EQ::skills::Skill2HSlashing] = 5;
pp->skills[EQ::skills::SkillAbjuration] = 5;
pp->skills[EQ::skills::SkillAlteration] = 5;
pp->skills[EQ::skills::SkillChanneling] = 5;
pp->skills[EQ::skills::SkillConjuration] = 5;
pp->skills[EQ::skills::SkillDefense] = 5;
pp->skills[EQ::skills::SkillDivination] = 5;
pp->skills[EQ::skills::SkillDoubleAttack] = 0;
pp->skills[EQ::skills::SkillDualWield] = 0;
pp->skills[EQ::skills::SkillEvocation] = 5;
pp->skills[EQ::skills::SkillHandtoHand] = 5;
pp->skills[EQ::skills::SkillMeditate] = 0;
pp->skills[EQ::skills::SkillOffense] = 5;
pp->skills[EQ::skills::SkillParry] = 5;
pp->skills[EQ::skills::Skill1HPiercing] = 5;
pp->skills[EQ::skills::SkillRiposte] = 0;
pp->skills[EQ::skills::SkillSafeFall] = 0;
pp->skills[EQ::skills::SkillSenseHeading] = 0;
pp->skills[EQ::skills::SkillSpecializeAbjure] = 0;
pp->skills[EQ::skills::SkillSpecializeAlteration] = 0;
pp->skills[EQ::skills::SkillSpecializeConjuration] = 0;
pp->skills[EQ::skills::SkillSpecializeDivination] = 0;
pp->skills[EQ::skills::SkillSpecializeEvocation] = 0;
pp->skills[EQ::skills::Skill2HPiercing] = 0;
}
// Trying to just cram the values into the game. They do it with the Berserker 2HPiercing, so maybe we can with our class.
|
Gutted that out - not necessary.
-- Copied the skilltree of Shadowknights for RuneKnight
-- Removed Archery & Throwing from RuneKnight
(They have spells, they don't need it.)
Made sure to download the BaseData and Skill_Caps to client folder. Stats and Skills now show in game for RuneKnight, but we still can't open the GM window for our class.
This has to be player or client based, because we can kick open the Training Window on a different class using the Rune Knight GM.
//attack.cpp
LINE 716 - Added RuneKnight to switch case to receive warrior softcaps
LINE 3939 - Added RuneKnight to Classic CheckTripleAttack and Switch Case to receive ClassicTripleAttackChanceWarrior
//client_mods.cpp
LINE 456 - Added in switch case for RuneKnight level multipliers (copied Shadowknight)
//client_process.cpp
Commented out method at 1626 that doubles down for "use your own trainer" -
Just a precaution for now...
//base_merchantlist_repository
LINE 137 - Set default classes_required to 131071 (theres like 3 of these, so we'll set them all to 131071) -- this fixes the issue of class 17 not being able to buy from any merchant.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Modified PEQ database so that items can now be marked for 65536 (RuneKnight) - make it a lot easier than typing data and doing math in SQL.