Soldak Home   Drox Operative   Din's Curse   Depths of Peril   Zombasite  

Go Back   Soldak Entertainment Forums > Zombasite > Zombasite modding
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-05-2018, 09:14 PM
bala bala is offline
Amateur
 
Join Date: Feb 2018
Posts: 15
Default Adding additional levels to some basic skills

I wanted make the health-per-vitality, attack/defense-per-dexterity skills upgradable by adding a new skill like the one below (similar to other skills)

Code:
SkillBonusAttackPerDexAdvancedBasicPerLevel
{
        Base		BaseSkillPerLevel
	StatChangePerAttributeChange	0.5
}
SkillBonusAttackPerDexAdvancedBasic
{
	Base		BaseSkillPassive
	BaseName	$$AttackBonus$$
	Desc		$$AttackBonusDesc$$
	TextureName	Textures/Icons/Skills/attackBonus.tga
	StatChangePerAttributeStat	Attack
	StatChangePerAttributeStat	Defense
	StatChangePerAttributeAttribute	Dexterity
	StatChangePerAttributeChange	0.5	//1.0
	BaseCost	8
	PerLevel	SkillBonusAttackPerDexAdvancedBasicPerLevel
}
But the skill works only for the first level, and does not increase the bonus for further levels... Is there a different way I should be adding this skill?
Reply With Quote
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 12:20 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2007 - 2019 Soldak Entertainment, Inc.