Jump to content

Esculpe

Member
  • Posts

    4
  • Joined

  • Last visited

  • Feedback

    0%

1 Follower

About Esculpe

Informations

  • Gender
    Male

Social Networks

  • Discord
    Doka#5676

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Esculpe's Achievements

Apprentice

Apprentice (3/16)

  • Reacting Well
  • Dedicated
  • First Post
  • Conversation Starter
  • Week One Done

Recent Badges

1

Reputation

  1. Hello there. Basically everything that you need to create something like this is pretty simple actually. - pc.get_race() -> will return the value: 1 for warrior, 2 for sura, 3 for ninja, 4 for shaman and 5 for lycan (I might be wrong, please test it and then correct me) - pc.give_item2(ITEM_VNUM, QUANTITY) -> gives the item to the current player Once you give a look at the already existing quests that you can find all over the internet, LUA is super easy to learn and execute... If you have any other questions, I think I can help you.
  2. Hello, It's possible to do something like that in LUA, but you'll find some problems. Here you have all the function you need to make something like you want: local mob_1 = d.spawn_mob(VNUM, X, Y) d.set_unique("mob_1_unique", mob_1) d.unique_set_maxhp("mob_1_unique", HP) d.unique_set_hp("mob_1_unique", HP) d.unique_get_hp_perc("mob_1_unique") d.unique_set_def_grade("mob_1_unique", 99999) All the functions are self-explanatory, you just need to use some triggers to call them (like server_timer, kill, login, etc). There isn't a way (with the actual functions) to block the hp from the mob you want, but you can use the last function to increase it's defense. Doing this, you'll find one problem: piercing damage will take affect on the defense given to the mob, so this isn't a good method. Hope I helped you in some way. If you have any question, you can send me a message on my discord: Doka#5676 Sincerely, Esculpe
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.