Jump to content
  • 0

What's wrong with this script? Thank you


micosanityyy

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  12/11/19
  • Last Seen:  

All Stats+ 20, HP+ 20%, SP+ 20%, Atk/Matk+ 10%
Increase Resistance to Demi-Humans by 5%
Increase Tolerance to Stone & Frozen Status by 50%
Increase Damage to Demi-Humans by 20%
 
Reduce after-skill delay by 5%
[+ Immortal Armor, Cloak, and Boots]
Atk+ 5%, Matk+ 5%
 
[Super Novice]
Increase Damage of Mammonite by 10%
Increase Damage of Fire Bolt, Cold Bolt, Lightning Bolt by 10%
Str+ 10
 
[Taekwon/Star Gladiator]
Increase Melee Damage by 10%
Str+ 10
 
[High Wizard/Professor/Soul Linker]
Increase Damage to Demi-Human by 10%
Int+ 10
 
[Ninja]
Increase Longrange Attack by 10%
Increase Magical Damage by 10%
Vit+ 10
 
[Gunslinger]
Increase Melee/Longrange attack by 10%
Dex+ 10
 
[Lord Knight]
Increase Bowling Bash by 10%
Str+ 10
 
[Paladin]
Decrease Damage from demi-human by 10%
HP+ 10%
 
[Sniper]
Increase Longrange Attack by 10%
Dex+ 10
 
[Clown/Gypsy]
Increase Damage of Arrow Vulcan by 10%
Dex+ 10
 
[High Priest]
Increase Sanctuary Heal by 10%
Increase Damage of Holy Light by 10%
Vit+ 10
 
[Champion]
Increase Physical Attack by 10%
Str+ 10
 
[Whitesmith]
Increase Physical Attack by 10%
Str+ 10
 
[Creator]
Increase Heal of Slim Potion Pitcher by 10%
Increase Longrange Attack by 10%
Int+ 10
 
[Assassin Cross]
Increase Melee Attack by 10%
Str+ 10
 
[Stalker]
Increase Melee/Longrange attack by 10%
Vit+ 10

 

{ bonus bAllStats,20; bonus bMaxHPrate,20; bonus bMaxSPrate,20; bonus bAtkrate,10; bonus bMatkrate,10; bonus2 bSubRace,RC_DemiHuman,5; bonus2 bSubRace,RC_Player,5; bonus2 bResEff,Eff_Freeze,50; bonus2 bResEff,Eff_Stone,50; bonus2 bAddRace,RC_DemiHuman,20; bonus2 bAddRace,RC_Player,20; bonus bDelayrate,-5; if(Class==Job_SuperNovice) bonus bStr,15; bonus2 bSkillAtk,"MC_MAMMONITE",15; bonus2 bSkillAtk,"MG_FIREBOLT",15; bonus2 bSkillAtk,"MG_COLDBOLT",15; bonus2 bSkillAtk,"MG_LIGHTNINGBOLT",15; else if(BaseClass==Job_Taekwon) bonus bShortAtkRate,15; bonus bStr,15; else if(BaseClass==Job_Mage) bonus2 bMagicAddRace,RC_DemiHuman,15; bonus2 bMagicAddRace,RC_Player,15; bonus bInt,15; else if(BaseClass==Job_Soul_Linker) bonus2 bMagicAddRace,RC_DemiHuman,15; bonus2 bMagicAddRace,RC_Player,15; bonus bInt,15; else if(BaseClass==Job_Ninja) bonus bLongAtkRate,15; bonus2 bMagicAtkEle,Ele_All,15; bonus bVit,15; else if(BaseClass==Job_Gunslinger) bonus bLongAtkRate,15; bonus bShortAtkRate,15; bonus bDex,15; else if(BaseClass==Job_Knight) bonus2 bSkillAtk,"KN_BOWLINGBASH",15; bonus bStr,15; else if(BaseClass==Job_Crusader) bonus2 bSubRace,RC_DemiHuman,15; bonus2 bSubRace,RC_Player,15; bonus bMaxHPrate,15; else if(BaseClass==Job_Archer) bonus bLongAtkRate,15; bonus2 bSkillAtk,"CG_ARROWVULCAN",15; bonux bDex,15; else if(BaseClass==Job_Priest) bonus2 bSkillAtk,"AL_HOLYLIGHT",15; bonus2 bSkillHeal,"PR_SANCTUARY",15; bonus bVit,15; else if(BaseClass==Job_Monk) bonus2 bAddRace,RC_DemiHuman,15; bonus2 bAddRace,RC_Player,15; bonus bStr,15; else if(BaseClass==Job_Blacksmith) bonus2 bAddRace,RC_DemiHuman,15; bonus2 bAddRace,RC_Player,15; bonus bStr,15; else if(BaseClass==Job_Job_Alchemist) bonus2 bSkillHeal,"CR_SLIMPITCHER",15; bonus bLongAtkRate,15; bonus bInt,15; else if(BaseClass==Job_Assassin) bonus2 bAddRace,RC_DemiHuman,15; bonus2 bAddRace,RC_Player,15; bonus bStr,15; else if(BaseClass==Job_Rogue) bonus2 bAddRace,RC_DemiHuman,15; bonus2 bAddRace,RC_Player,15; bonus bVit,15; },{},{}

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  215
  • Reputation:   45
  • Joined:  05/03/13
  • Last Seen:  

Hello,

If I were you I'd write a npc function, call it and debug it inside of the function, way easier to read and faster to reload just one function that the whole item_db.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  241
  • Reputation:   18
  • Joined:  06/04/14
  • Last Seen:  

Sanctuary on 15? Geez, the script is bit eeeeek on eyes. Lol. I think it would be better if it is classified via job and then consolidate them.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.03
  • Content Count:  112
  • Reputation:   9
  • Joined:  09/22/19
  • Last Seen:  

I'm on my phone so might edit later but at least this might be wrong: "BaseClass==Job_Job_Alchemist"

What error code is your map server popping up?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...