View Single Post
Old 08-13-2017, 07:31 PM   #15
Lord Azagthoth
 
Lord Azagthoth's Avatar
 
Join Date: Jun 2006
Location: Helmouth, The Netherlands
Default Re: GCA and Half-Stat Default

Is there a way to let the basic attacks (Punch, Kick, Bite) also make use of the half-stat default.

Below is the stadnard punch from BS, where should I put the piece of code so it would also defult to half-stat? I tried to do something in the skillused() part but that part only accepts + or - (e.g., DX+1 or DX-1, but not DX/2 or DX*2).

The problem which I encounterd was when players increase their DX, at some point those basic attacks shouwed up again in the Quick View tab because these stats benefit from each DX increase while a skill only every other DX increase. For now I have patched it with DX-4 (instead of DX/2+1) for Punch and DX-6 (instead of DX/2-1) for Kick

Code:
Punch, display(no), mode(Punch), damage(_
		thr-1 + _
			@if("AD:Claws (Blunt Claws)::level" = 1 & @itemhasmod(AD:Claws (Blunt Claws), Feet Only) = 0 then @basethdice(ST:Punch) else @if("AD:Claws (Long Talons)::level" = 1 & @itemhasmod(AD:Claws (Long Talons), Feet Only) = 0 then @basethdice(ST:Punch) else 0)) + _
				@max(_
					@if(me::charskillused = "SK:Brawling" THEN @if("SK:Brawling::level" > ST:DX+1 then @basethdice(ST:Punch) ELSE 0) ELSE 0),
					@if(me::charskillused = "SK:Boxing" THEN @if("SK:Boxing::level" = ST:DX+1 then @basethdice(ST:Punch) ELSE @if("SK:Boxing::level" > ST:DX+1 then 2 * @basethdice(ST:Punch) ELSE 0)) ELSE 0),
					@if(me::charskillused = "SK:Karate" THEN @if("SK:Karate::level" = ST:DX then @basethdice(ST:Punch) ELSE @if("SK:Karate::level" > ST:DX then 2 * @basethdice(ST:Punch) ELSE 0)) ELSE 0)_
				)_
		), damtype(_
					$if("AD:Claws (Sharp Claws)::level" = 1 & @itemhasmod(AD:Claws (Sharp Claws), Feet Only) = 0 THEN "cut" ELSE $if("AD:Claws (Talons)::level" = 1  & @itemhasmod(AD:Claws (Talons), Feet Only) = 0 THEN "cut/imp" ELSE $if("AD:Claws (Long Talons)::level" = 1  & @itemhasmod(AD:Claws (Long Talons), Feet Only) = 0 THEN "cut/imp" ELSE "cr")))_
				), reach(C), parry(0), skillused(ST:DX-4, SK:Brawling, SK:Boxing, SK:Karate), mods(Punch/Kick),
	damagebasedon(ST:Punch),
	reachbasedon(ST:One Arm Reach),
	basevalue(ST:One Arm Striking ST)
__________________
May the Force be with us all

Dark Lord Azagthoth

Star Wars - TRPG
Lord Azagthoth is offline   Reply With Quote