mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-05 19:46:35 +00:00
[Bug Fix] Allow Songs to be scribed from scrolls (#2460)
* [Bug Fix] Allow Songs to be scribed from scrolls Songs weren't capable of being scribed from scrolls because we didn't check for `Song: ` in the name. Converted old logic to substrings, can probably do it cleaner, but it's better than it was. Removed extraneous `initiator->IsClient()` calls as `initiator` is **always** a client. * Fix substr logic.
This commit is contained in:
+2
-2
@@ -113,8 +113,8 @@ public:
|
||||
void changedeity(int deity_id);
|
||||
void exp(int amt);
|
||||
void level(int newlevel);
|
||||
void traindisc(int discipline_tome_item_id);
|
||||
bool isdisctome(int item_id);
|
||||
void traindisc(uint32 discipline_tome_item_id);
|
||||
bool isdisctome(uint32 item_id);
|
||||
std::string getracename(uint16 race_id);
|
||||
std::string getspellname(uint32 spell_id);
|
||||
std::string getskillname(int skill_id);
|
||||
|
||||
Reference in New Issue
Block a user