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

Slēgta
neatz09 atvēra 1 gadu atpakaļ · 3 komentāri
Vēl nav satura.
image komentēja 1 gadu atpakaļ
Līdzstrādnieks

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 komentēja 1 gadu atpakaļ
Līdzstrādnieks

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 komentēja 1 gadu atpakaļ
Līdzstrādnieks
  • 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); } ```
Pierakstieties, lai pievienotos šai sarunai.
Notiek ielāde...
Atcelt
Saglabāt
Vēl nav satura.