#448 scribing recipes/spells from different classes is not restricted

Geschlossen
vor 1 Jahr geöffnet von neatz09 · 3 Kommentare
neatz09 kommentierte vor 1 Jahr
Hier gibt es bis jetzt noch keinen Inhalt.
image kommentierte vor 1 Jahr
Mitarbeiter

ideally would be nice to know what messages we get from live to properly implement this, but for now I will put a basic scribe check that just spits out you cannot do this due to level/class restrictions.

ideally would be nice to know what messages we get from live to properly implement this, but for now I will put a basic scribe check that just spits out you cannot do this due to level/class restrictions.
image kommentierte vor 1 Jahr
Mitarbeiter

also looks like on the recipes table all recipes are 0 except one which is the lucky paw set to product_classes 255

also looks like on the recipes table all recipes are 0 except one which is the lucky paw set to product_classes 255
image kommentierte vor 1 Jahr
Mitarbeiter
  • spells scribing didn't have any checks
  • recipe scribing does have a level check, but no class check

    
                        if (recipe_book && recipe_book->GetLevel() > client->GetPlayer()->GetTSLevel()) {
                            client->Message(CHANNEL_NARRATIVE, "Your tradeskill level is not high enough to scribe this book.");
                            safe_delete(recipe_book);
                        }
    
- spells scribing didn't have any checks - recipe scribing does have a level check, but no class check ``` if (recipe_book && recipe_book->GetLevel() > client->GetPlayer()->GetTSLevel()) { client->Message(CHANNEL_NARRATIVE, "Your tradeskill level is not high enough to scribe this book."); safe_delete(recipe_book); } ```
image hat dieses Issue vor 1 Jahr aus einem Commit referenziert
image hat vor 1 Jahr geschlossen
Anmelden, um an der Diskussion teilzunehmen.
Laden…
Abbrechen
Speichern
Hier gibt es bis jetzt noch keinen Inhalt.